自定义方法
getTokenAccountsByOwners
Returns token account balances for multiple wallets for a specific mint. Efficiently queries up to 250 wallets in a single request. Returns all token accounts per owner (if they have multiple) or zero balance if no account exists.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.solanatracker.io/llms.txt
Use this file to discover all available pages before exploring further.
授权
请求体
application/json
The JSON-RPC protocol version.
可用选项:
2.0 示例:
"2.0"
A unique identifier for the request.
示例:
"1"
The name of the RPC method to invoke.
可用选项:
getTokenAccountsByOwners 示例:
"getTokenAccountsByOwners"
Parameters for the batch token balance query.
Array of owner wallet public keys to query (1-250 wallets). All pubkeys must be valid base-58 encoded Solana addresses.
Required array length:
1 - 250 elementsOwner wallet public key as a base-58 encoded string.