# getIdentity
Solana API method that returns the identity public key for the current node.
Parameters:
none
Returns:
identity
— the public key of the current node as a base58 encoded string.
Example:
- Solana web3.js
- Solana.py
- cURL
// This method is not supported in Solana web3.js