ExchangeRate
public struct ExchangeRate : Codable, Equatable, DataConvertible
Undocumented
-
Undocumented
Declaration
Swift
public static let empty: Asset.ExchangeRate -
Undocumented
Declaration
Swift
public var base: AssetAmount -
Undocumented
Declaration
Swift
public var quote: AssetAmount -
Undocumented
Declaration
Swift
public func asData() -> Data -
quote & base asset ids cannot be the same, for quote any id can be used since it is modified to created asset id upon creation
Declaration
Swift
public static func forCreateOperation(dct: BigInt, uia: BigInt) -> ExchangeRateParameters
dctbase value in DCT
uiaquote value in UIA
Return Value
ExchangeRate
View on GitHub
Install in Dash
ExchangeRate Structure Reference