asset_limit

Represents an asset's lower limit, below which a transfer is deemed not sufficient for account registration. This struct must contain either of these options:

  • id

  • name and blockchain_rid

If id and name are missing or both present, functions using this struct will consider it invalid.

If this value is being parsed from a GTV and name is present instead of id, blockchain_rid is optional. If missing, its value will be this chain's RID.

Properties

Link copied to clipboard
val id: byte_array? = null

The ID of the asset

Link copied to clipboard

The RID of the chain that issues the asset. When parsing from the chromia.yml or GTV format, it is interpreted as this chain if null unless id is present.

Link copied to clipboard

The minimum amount of this asset that should be transferred

Link copied to clipboard
val name: text? = null

The name of the asset