curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getLookupTablesByAccounts",
"params": [
{
"accounts": [
"AccountApubkey11111111111111111111111111111",
"AccountBpubkey22222222222222222222222222222"
],
"owner": null,
"limit": 100,
"cursor": null
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"lookupTables": [
{
"pubkey": "LUT1pubkey1111111111111111111111111111111111",
"authority": "9aoUCn5J4sxhvYERCVwVnakPQxyXTHQVXe86CUJYxY8p",
"deactivationSlot": 18446744073709552000,
"addressCount": 200,
"addresses": [
"AccountApubkey11111111111111111111111111111",
"AccountBpubkey22222222222222222222222222222"
],
"mints": [],
"slot": 423867852,
"matchedAccounts": [
"AccountApubkey11111111111111111111111111111",
"AccountBpubkey22222222222222222222222222222"
],
"matchedAddressIndices": [
3,
17
],
"estimatedBytesSaved": 62
}
],
"coveredAccounts": [
"AccountApubkey11111111111111111111111111111",
"AccountBpubkey22222222222222222222222222222"
],
"uncoveredAccounts": [
"AccountCpubkey33333333333333333333333333333"
],
"estimatedBytesSaved": 62,
"count": 1
}
}Address Lookup Tables
getLookupTablesByAccounts
Find address lookup tables containing all listed accounts. With bestSet: true, returns a greedy minimal LUT set optimized for transaction size reduction.
POST
/
curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getLookupTablesByAccounts",
"params": [
{
"accounts": [
"AccountApubkey11111111111111111111111111111",
"AccountBpubkey22222222222222222222222222222"
],
"owner": null,
"limit": 100,
"cursor": null
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"lookupTables": [
{
"pubkey": "LUT1pubkey1111111111111111111111111111111111",
"authority": "9aoUCn5J4sxhvYERCVwVnakPQxyXTHQVXe86CUJYxY8p",
"deactivationSlot": 18446744073709552000,
"addressCount": 200,
"addresses": [
"AccountApubkey11111111111111111111111111111",
"AccountBpubkey22222222222222222222222222222"
],
"mints": [],
"slot": 423867852,
"matchedAccounts": [
"AccountApubkey11111111111111111111111111111",
"AccountBpubkey22222222222222222222222222222"
],
"matchedAddressIndices": [
3,
17
],
"estimatedBytesSaved": 62
}
],
"coveredAccounts": [
"AccountApubkey11111111111111111111111111111",
"AccountBpubkey22222222222222222222222222222"
],
"uncoveredAccounts": [
"AccountCpubkey33333333333333333333333333333"
],
"estimatedBytesSaved": 62,
"count": 1
}
}⚡ Powered by Solana Ridge DBFind address lookup tables containing all listed accounts (intersection mode), or use
bestSet: true to get a greedy minimal LUT set optimized for transaction size reduction.Intersection mode — returns LUTs where every account in your list appears.Best set mode — returns the smallest combination of LUTs that covers the most accounts, with coveredAccounts and uncoveredAccounts in the response. Tune with maxLookupTables (default 8), candidateLimit (default 5000), and perAccountLimit (default 500).This method costs 1 credit per call.
Authorizations
Body
application/json
The JSON-RPC protocol version.
Available options:
2.0 Example:
"2.0"
A unique identifier for the request.
Example:
"1"
The name of the RPC method to invoke.
Available options:
getLookupTablesByAccounts Example:
"getLookupTablesByAccounts"
Method parameters.
Required array length:
1 elementShow child attributes
Show child attributes
Was this page helpful?