Helius SDK - v5.0.0
    Preparing search index...

    Interface GetCompressedAccountValue

    A compressed account's on-chain data.

    interface GetCompressedAccountValue {
        address: string | null;
        data: { data: string; dataHash: string; discriminator: number } | null;
        hash: string;
        lamports: number;
        leafIndex: number;
        owner: string;
        seq: number | null;
        slotCreated: number;
        tree: string;
    }
    Index

    Properties

    address: string | null

    Unique identifier address for the compressed account, or null when the account has none.

    data: { data: string; dataHash: string; discriminator: number } | null

    On-chain data stored in the compressed account, or null when it holds none.

    Type Declaration

    • { data: string; dataHash: string; discriminator: number }
      • data: string

        Base64-encoded raw data stored in this compressed account.

      • dataHash: string

        Hash of the account data for verification.

      • discriminator: number

        Discriminator used to identify the account type.

    • null
    hash: string

    Cryptographic hash of the compressed account data for verification.

    lamports: number

    SOL balance held by this compressed account in lamports (1 SOL = 1,000,000,000 lamports).

    leafIndex: number

    Position index in the Merkle tree where this compressed account is stored.

    owner: string

    Solana program that owns this compressed account (typically the compression program).

    seq: number | null

    Sequence number for tracking updates to this compressed account. null for an account in a V2 (batched) state tree that is still in the tree's output queue.

    slotCreated: number

    Solana blockchain slot when this compressed account was created.

    tree: string

    Address of the Merkle tree where this compressed account is stored.