Shred Delivery and Sender are now live! Get earliest access to raw Solana data and optimized transaction sending. Learn about Shred Delivery | Learn about Sender
简体中文
返回给定铸币和所有者的代币账户列表。
cURL
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getTokenAccounts", "params": { "owner": "86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY" } }'
{ "last_indexed_slot": 365750752, "total": 2, "limit": 100, "cursor": "<string>", "token_accounts": [ { "address": "<string>", "mint": "<string>", "owner": "<string>", "amount": 123, "delegated_amount": 123, "frozen": true, "burnt": "<any>" } ] }
您的 Helius API 密钥。您可以在仪表板中免费获取一个。
JSON-RPC 协议的版本。
2.0
用于标识请求的 ID。
"1"
要调用的方法名称。
getTokenAccounts
Show child attributes
成功响应
保证所有数据都已索引到此槽位及之前的所有数据。
365750752
请求找到的结果数量。
2
请求的最大结果数量。
100
用于分页的游标。
一个包含代币账户的数组。
此页面对您有帮助吗?