Helius SDK - v2.2.2
    Preparing search index...

    Interface GetCompressedAccountValue

    A compressed account's on-chain data.

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

    Properties

    address: string

    Unique identifier address for the compressed account.

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

    On-chain data stored in the compressed account.

    Type Declaration

    • 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.

    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

    Sequence number for tracking updates to this compressed account.

    slotCreated: number

    Solana blockchain slot when this compressed account was created.

    tree: string

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