Response Schema for AEX9 contract balances responses

interface Aex9ContractBalanceResponse {
    accountId: `ak_${string}`;
    amount: bigint;
    blockHash: number;
    contractId: number;
    height: number;
    lastLogIdx: number;
    lastTxHash: `th_${string}`;
}

Properties

accountId: `ak_${string}`

The wallet pubkey

amount: bigint

The balance amount

blockHash: number

The block hash, indicating a state of a balance for that block

contractId: number

The contract id of given token

height: number

The block height, indicating a state of a balance for that block height

lastLogIdx: number

The index of the event log that changed the balance

lastTxHash: `th_${string}`

The hash of the last transaction that changed the balance