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": 1,
  "result": {
    "isDelegated": true,
    "delegationRecord": {
      "authority": "11111111111111111111111111111111",
      "owner": "3JnJ727jWEmPVU8qfXwtH63sCNDX7nMgsLbg8qy8aaPX",
      "delegationSlot": 388473478,
      "lamports": 15144960
    }
  }
}

Body

application/json

Response

200 - application/json

Successful response

The response is of type object.