get_account_info
Retrieve detailed account information for a specified public key on the Solana blockchain, including data encoding options like base58, base64, or jsonParsed.
Instructions
Returns all account info for the specified public key.
Args: pubkey (str): Pubkey of account to query encoding (str): Encoding for Account data ("base58", "base64", or "jsonParsed")
Returns: str: Account information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
encoding | No | base64 | |
pubkey | Yes |
Input Schema (JSON Schema)
{
"properties": {
"encoding": {
"default": "base64",
"title": "Encoding",
"type": "string"
},
"pubkey": {
"title": "Pubkey",
"type": "string"
}
},
"required": [
"pubkey"
],
"title": "get_account_infoArguments",
"type": "object"
}