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

    Interface GetHistoryRequest

    Request parameters for getting transaction history

    interface GetHistoryRequest {
        after?: string;
        before?: string;
        limit?: number;
        tokenAccounts?: "all" | "none" | "balanceChanged";
        type?: string;
        wallet: string;
    }
    Index

    Properties

    after?: string

    Fetch transactions after this signature (for ascending order pagination)

    before?: string

    Fetch transactions before this signature (use pagination.nextCursor from previous response)

    limit?: number

    Maximum number of transactions per request (max: 100, default: 100)

    tokenAccounts?: "all" | "none" | "balanceChanged"

    Filter transactions involving token accounts owned by the wallet.

    • "balanceChanged" (recommended): Includes transactions that changed token balances, filters spam
    • "none": Only transactions directly referencing the wallet
    • "all": All transactions including token accounts (may include spam) Default: "balanceChanged"
    type?: string

    Filter by transaction type. Available types (truncated): SWAP, TRANSFER, NFT_SALE, NFT_BID, NFT_LISTING, NFT_MINT, NFT_CANCEL_LISTING, TOKEN_MINT, BURN, COMPRESSED_NFT_MINT, COMPRESSED_NFT_TRANSFER, COMPRESSED_NFT_BURN, CREATE_STORE, WHITELIST_CREATOR, ADD_TO_WHITELIST, REMOVE_FROM_WHITELIST, AUCTION_MANAGER_CLAIM_BID, EMPTY_PAYMENT_ACCOUNT, UPDATE_PRIMARY_SALE_METADATA, ADD_TOKEN_TO_VAULT, ACTIVATE_VAULT, INIT_VAULT, INIT_BANK, INIT_STAKE, MERGE_STAKE, SPLIT_STAKE, CREATE_AUCTION_MANAGER, START_AUCTION, CREATE_AUCTION_MANAGER_V2, UPDATE_EXTERNAL_PRICE_ACCOUNT, EXECUTE_TRANSACTION

    wallet: string

    Solana wallet address (base58 encoded)