Skip to main content
POST
/
getDelegationStatus
getDelegationStatus
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
}

Body

application/json
jsonrpc
enum<string>
default:2.0
required
Available options:
2.0
id
integer
default:1
required
method
enum<string>
default:getDelegationStatus
required
Available options:
getDelegationStatus
params
string[]
required

Single account address

Required array length: 1 element

Response

200 - application/json

Successful response

jsonrpc
enum<string>
default:2.0
Available options:
2.0
id
result
object
error
object