cURL
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": "validator_pubkey", "fqdn": "validator_fqdn" } }
Get the identity information of the current router node
Successful response
The response is of type object.
object
Was this page helpful?