AssetAmount

@Serializable
data class AssetAmount(val asset: String, val amount: String)

Represents an amount of an asset.

Constructors

Link copied to clipboard
constructor(asset: String, amount: String)

Properties

Link copied to clipboard
@SerialName(value = "amount")
val amount: String

The amount of the asset as a string (to preserve precision)

Link copied to clipboard
@SerialName(value = "asset")
val asset: String

The asset type (uses a simplified JSON representation for now)