Get Token Accounts

Get information about all token accounts for a specific mint or an owner.

Retrieve all token accounts linked to a specific mint or owner. Use this to efficiently list all holders of an SPL token or view all tokens owned by a given address.

Request (POST)
{
    "id": "text",
    "jsonrpc": "2.0",
    "method": "getTokenAccounts",
    "params": {
      "mintAddress": "string",
      "ownerAdress": "string",
      "page": 1,
      "limit": 100,
      "cursor": "text",
      "before": "text",
      "after": "text"
    }
  }

Parameters

Name
Description

mintAddress

The address of associated mint.

ownerAddress

The owner address of the tokens.

page

The current pagination page.

limit

Number of results per page.

cursor

Optional pagination cursor.

before

Return results before the cursor.

after

Return results after the cursor.

Last updated

Was this helpful?