Skip to main content
POST
/
getIdentity
getIdentity
curl --request POST \
  --url https://devnet-router.magicblock.app/getIdentity \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getIdentity"
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "identity": "MAS1Dt9qreoRMQ14YQuhg8UTZMMzDdKhmkZMECCzk57",
    "fqdn": "https://devnet-as.magicblock.app/"
  }
}

Body

application/json
jsonrpc
enum<string>
default:2.0
required
Available options:
2.0
id
integer
default:1
required
method
enum<string>
default:getIdentity
required
Available options:
getIdentity

Response

200 - application/json

Successful response

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