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

    Interface WalletClientBeta

    Wallet API client interface

    Provides methods for querying Solana wallet data including identity, balances, transaction history, transfers, and funding sources.

    The Wallet API is currently in beta. APIs and response formats may change.

    import { createHelius } from "helius-sdk";

    const helius = createHelius({ apiKey: "your-api-key" });

    // Get wallet identity
    const identity = await helius.wallet.getIdentity({ wallet: "..." });

    // Get balances
    const balances = await helius.wallet.getBalances({ wallet: "..." });

    // Get transaction history
    const history = await helius.wallet.getHistory({ wallet: "...", limit: 50 });
    interface WalletClient {
        getBalanceAt(params: GetBalanceAtRequest): Promise<GetBalanceAtResponse>;
        getBalances(params: GetBalancesRequest): Promise<GetBalancesResponse>;
        getBatchIdentity(
            params: GetBatchIdentityRequest,
        ): Promise<GetBatchIdentityResponse>;
        getFundedBy(params: GetFundedByRequest): Promise<FundingSource>;
        getHistory(params: GetHistoryRequest): Promise<GetHistoryResponse>;
        getIdentity(params: GetIdentityRequest): Promise<Identity>;
        getTransfers(params: GetTransfersRequest): Promise<GetTransfersResponse>;
    }
    Index

    Methods

    • Beta

      Batch identity lookup for multiple wallet addresses or SNS/ANS domains (max 100)

      Parameters

      Returns Promise<GetBatchIdentityResponse>

      Array of resolved or unresolved identity entries, in request order. A domain that can't be resolved comes back with unresolved: true and no name, so check if (id.unresolved) first.

      Error if HTTP error or invalid request