asset

entity asset(source)

An asset represents anything that is fungible. It can be more than money, like resources in a game.

Properties

Link copied to clipboard

Number of decimals used by this asset, which will affect how to interpret a balance of this decimal. E.g., 10000 with decimals 1 would be interpreted as 1000,0 while 10000 with decimals 2 would be interpreted as 100,00

Link copied to clipboard

A URL to an icon for this asset. Used only for display purposes in UI applications.

Link copied to clipboard

Unique identifier for an instance of this entity

Link copied to clipboard

The rid of the blockchain that is issuing this asset if this is a cross chain asset. For non-cross chain assets, this field will be the same as this blockchain's RID.

Link copied to clipboard
val name: text

Display name of the asset. Need not be unique.

Link copied to clipboard

Symbol of this asset, typically an all caps string of three or four letters. Used for display purposes and need not be unique.

Link copied to clipboard

Integer representing the total supply of this asset. Can change as assets is minted/burnt.

Link copied to clipboard
val type: text

The type of asset. Defaults to ASSET_TYPE_FT4

Link copied to clipboard

Attribute that contains additional data to discern assets that are registered with the same name and symbol.