getIdentity RPC Method
Parameters
This method does not accept any parameters
Returns
result
The result will be a JSON object with the following fields:
identity
The public key identity of the current node as base-58 encoded string
Request
1curl https://docs-demo.solana-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"jsonrpc":"2.0","id":1, "method":"getIdentity"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free