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.

struct fee_asset {

The ID of the asset

id: byte_array? = null;

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.

issuing_blockchain_rid: byte_array? = null;

The name of the asset

name: text? = null;

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

amount: big_integer;
}
© 2024 Chromia