getLookupTablesByAccount

Existing lookup tables that already hold an account, and where.

1 credit a call. Free plan includes 500,000 credits a month.

What it returns

Pass an account. Each table that holds it comes back with the account’s index and an estimate of the bytes it saves in a v0 transaction.

Reuse those tables instead of creating your own: no rent and no activation wait.

What you can build

  • Smaller transactions

    Fit more instructions into one v0 transaction.

  • Skip LUT setup

    Use existing tables instead of paying rent for new ones.

  • Trusted tables only

    Filter by authority so no one can change a table under you.

Call it

Replace the URL with your endpoint from the dashboard.

getLookupTablesByAccount1 credit

Request

curl "$SOLANA_RPC_URL" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getLookupTablesByAccount",
  "params": [
    {
      "account": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
      "limit": 100
    }
  ]
}'

Response shape

{
  "lookupTables": [
    {
      "pubkey": "…",
      "addressCount": 256,
      "addressIndex": 42,
      "matchedAddressIndices": [
        42
      ],
      "estimatedBytesSaved": 31
    }
  ],
  "nextCursor": null,
  "hasMore": false,
  "count": 1
}

Parameters

accountstring
The account to look for. Required.
ownerstring
Only tables with this authority.
limitnumber
1 to 1,000 tables a page. Default 100.
cursorstring
The nextCursor from the previous page.

Good to know

  • A table’s authority can extend or deactivate it; filter by owner for tables you trust.

Start calling getLookupTablesByAccount.

Free to start. Paid plans from €39 a month.