supra-ts-sdk - v2.0.0
    Preparing search index...

    Interface SupraBalance

    The SUPRA balance of an account in quants, in total and by the form in which it is held. SUPRA is held as a legacy coin (a CoinStore resource), as a fungible asset (the account's primary store of the SUPRA fungible asset), or both.

    interface SupraBalance {
        total: bigint;
        coin: bigint;
        fungibleAsset: bigint;
    }
    Index
    total: bigint

    The SUPRA the account owns in either form: coin + fungibleAsset.

    coin: bigint

    The SUPRA held in the account's CoinStore<SupraCoin> resource.

    fungibleAsset: bigint

    The SUPRA held in the account's primary store of the SUPRA fungible asset.