fee_asset

Represents an asset that will be paid for a new 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

The amount of this asset that should be paid as a registration fee

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.

Link copied to clipboard
val name: text? = null

The name of the asset