cURL
curl --request POST \ --url https://devnet-router.magicblock.app/getDelegationStatus \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 1, "method": "getDelegationStatus", "params": [ "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU" ] } '
{ "jsonrpc": "2.0", "id": 123, "result": { "isDelegated": true, "delegationRecord": { "authority": "<string>", "owner": "<string>", "delegationSlot": 123, "lamports": 123 }, "fqdn": "<string>" }, "error": null }
Get delegation status for a single account from Magic Router.
2.0
getDelegationStatus
Single account address
1
Successful response
Show child attributes
Whether the account is delegated
The authority address
The owner address
The delegation slot
The amount in lamports
Fully qualified domain name
Was this page helpful?