curl --request POST \ --url https://devnet-as.magicblock.app/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "getTokenAccountsByOwner", "params": [ "A1TMhSGzQxMr1TboBKtgixKz1sS6REASMxPo1qsyTSJd", { "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "commitment": "finalized", "encoding": "jsonParsed" } ] }'
{ "jsonrpc": "2.0", "id": 1, "result": null, "error": null }
Returns all SPL Token accounts by token owner.
Documentation IndexFetch the complete documentation index at: https://docs.magicblock.gg/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.magicblock.gg/llms.txt
Use this file to discover all available pages before exploring further.
2.0
getTokenAccountsByOwner
Method-specific parameters.
Successful response
Method-specific result payload.
このページは役に立ちましたか?