near-api-js - v7.5.3
    Preparing search index...

    Interface AccountView

    interface AccountView {
        amount: bigint;
        block_hash: string;
        block_height: number;
        bootstrap_nonce?: number | null;
        code_hash: string;
        global_contract_account_id?: string | null;
        global_contract_hash?: string | null;
        locked: bigint;
        state?: AccountState;
        storage_paid_at?: number;
        storage_usage: number;
    }

    Hierarchy (View Summary)

    Index
    amount: bigint
    block_hash: string
    block_height: number
    bootstrap_nonce?: number | null

    The nonce an uninitialized account's own transactions must use, present only while it is uninitialized. A self-signed state init is the one transaction such an account can send, and this is the only way for a client to learn the nonce it must carry: there is no access key to query.

    code_hash: string

    Hash of the deployed contract code; the all-1s hash when no contract is deployed.

    global_contract_account_id?: string | null

    Set when the account uses a global contract referenced by the deploying account id.

    global_contract_hash?: string | null

    Set when the account uses a global contract referenced by code hash.

    locked: bigint
    state?: AccountState

    Whether the account is initialized. Only a universal account can be uninitialized: it has no access keys, code or data until a UniversalStateInit arrives. Omitted for initialized accounts.

    storage_paid_at?: number

    Deprecated and unused. TODO(2271): remove.

    storage_usage: number

    Total storage used by the account, in bytes.