Run `getTokenAccountsByOwner`
账户方法
getTokenAccountsByOwner
Returns all SPL Token accounts owned by the specified wallet address. This method allows you to retrieve a complete list of token holdings for any Solana wallet, useful for portfolio tracking and token balance queries.
POST
Run `getTokenAccountsByOwner`
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.
可用选项:
getTokenAccountsByOwner 示例:
"getTokenAccountsByOwner"
Parameters for querying token accounts owned by a specific public key.
Solana wallet address (pubkey) of the account owner to query token holdings for, as a base-58 encoded string.
示例:
"A1TMhSGzQxMr1TboBKtgixKz1sS6REASMxPo1qsyTSJd"