메인 콘텐츠로 건너뛰기
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