メインコンテンツへスキップ
POST
getDelegationStatus
curl --request POST \
  --url https://devnet-router.magicblock.app/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getDelegationStatus",
  "params": [
    "5RgeA5P8bRaynJovch3zQURfJxXL3QK2JYg1YamSvyLb"
  ]
}
'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "isDelegated": true,
    "fqdn": "https://devnet-as.magicblock.app/",
    "delegationRecord": {
      "authority": "MAS1Dt9qreoRMQ14YQuhg8UTZMMzDdKhmkZMECCzk57",
      "owner": "3JnJ727jWEmPVU8qfXwtH63sCNDX7nMgsLbg8qy8aaPX",
      "delegationSlot": 388473478,
      "lamports": 15144960
    }
  }
}

ボディ

application/json
jsonrpc
enum<string>
デフォルト:2.0
必須
利用可能なオプション:
2.0
id
integer
デフォルト:1
必須
method
enum<string>
デフォルト:getDelegationStatus
必須
利用可能なオプション:
getDelegationStatus
params
string[]
必須

Single account address

Required array length: 1 element

レスポンス

200 - application/json

Successful response

jsonrpc
enum<string>
デフォルト:2.0
利用可能なオプション:
2.0
id
result
object
error
object