AssetAmount

public struct AssetAmount : ECHOCodable, Decodable

Class used to represent a specific amount of a certain asset

  • Undocumented

    Declaration

    Swift

    public let amount: UInt
  • Undocumented

    Declaration

    Swift

    public let asset: Asset
  • Undocumented

    Declaration

    Swift

    public init(amount: UInt, asset: Asset)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Undocumented

    Declaration

    Swift

    public func toJSON() -> Any?
  • Undocumented

    Declaration

    Swift

    public func toData() -> Data?