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

Body

application/json
jsonrpc
enum<string>
default:2.0
required
Available options:
2.0
id
default:1
required
method
enum<string>
default:getIdentity
required
Available options:
getIdentity
params
any[]

Method-specific parameters. See Solana RPC docs for exact shape.

Response

200 - application/json

Successful response

jsonrpc
enum<string>
default:2.0
required
Available options:
2.0
id
required
result

Method-specific result payload.

error
object