Skip to main content
Glama

Model Context Protocol Server for Solana Client

by tywenk

get_account_info

Retrieve comprehensive account information for a specified Solana public key using customizable encoding options to access and interpret blockchain data efficiently.

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

NameRequiredDescriptionDefault
encodingNobase64
pubkeyYes

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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tywenk/mcp-sol'

If you have feedback or need assistance with the MCP directory API, please join our Discord server