Type alias TokenState

TokenState: {
    decimals: number;
    moduleRef: Type;
    moduleState: Type;
    totalSupply: Type;
}

The state associated with a specific token at a specific block

Type declaration

  • decimals: number

    The number of decimals used to represent token amounts.

  • moduleRef: Type

    The reference of the module implementing this token.

  • moduleState: Type

    Token module specific state (CBOR encoded), such as token name, feature flags, meta data.

  • totalSupply: Type

    The total available token supply.

Generated using TypeDoc