Overview
This node retrieves the public key of a Solana wallet using credentials provided by the user. It is useful in scenarios where you need to access or display the public key of a Solana wallet for blockchain interactions, identity verification, or transaction signing.
Use Case Examples
- A user wants to fetch their Solana wallet public key to use it in a subsequent transaction node.
- An application needs to display the public key of the connected Solana wallet for user confirmation or logging.
Output
JSON
publicKey- The public key of the Solana wallet as a string
Dependencies
- An API key credential for Solana secret key access
Troubleshooting
- If the node fails with 'Failed to get wallet public key', ensure that the Solana secret key credentials are correctly configured and valid.
- Check network connectivity if the credential retrieval involves remote API calls.
- Verify that the credentials have the necessary permissions to access the wallet information.