cURL
curl --request POST \ --url https://devnet-router.magicblock.app/getAccountInfo \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "getAccountInfo", "params": [ "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU", { "encoding": "base64+zstd" } ] }'
{ "jsonrpc": "2.0", "result": { "context": { "apiVersion": "2.2.1", "slot": 85838062 }, "value": { "data": [ "KLUv/QBYQQAAAgAAAAAAAAA=", "base64+zstd" ], "executable": false, "lamports": 946560, "owner": "2qgx11jg9RzZHT88FwwvwxKJmtJi5cPL8KgcCAH7yRda", "rentEpoch": 18446744073709552000, "space": 8 } }, "id": 1 }
Get AccountInfo for a single account.
2.0
getAccountInfo
Single account address
1
Successful response
Show child attributes
Was this page helpful?