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

    Interface GetTokenAccountsRequest

    Request parameters for getTokenAccounts.

    interface GetTokenAccountsRequest {
        after?: string;
        before?: string;
        cursor?: string;
        limit?: number;
        mint?: string;
        options?: { showZeroBalance?: boolean };
        owner?: string;
        page?: number;
    }
    Index

    Properties

    after?: string

    Returns results after the specified cursor.

    before?: string

    Returns results before the specified cursor.

    cursor?: string

    The cursor used for pagination.

    limit?: number

    The maximum number of token accounts to return.

    mint?: string

    Filter by token mint address.

    options?: { showZeroBalance?: boolean }

    Type Declaration

    • OptionalshowZeroBalance?: boolean

      If true, include token accounts with zero balance.

    owner?: string

    Filter by owner wallet address.

    page?: number

    The page of results to return (1-indexed).