Skip to main content
Glama

Model Context Protocol Server for Solana Client

by tywenk

get_multiple_accounts

Fetch account information for multiple Solana addresses using specified encoding. Ideal for retrieving detailed data for a list of public keys on the Solana blockchain.

Instructions

Returns the account information for a list of public keys.

Args: pubkeys (list[str]): List of account public keys encoding (str): Encoding for the account data

Returns: str: Multiple accounts information

Input Schema

NameRequiredDescriptionDefault
encodingNobase64
pubkeysYes

Input Schema (JSON Schema)

{ "properties": { "encoding": { "default": "base64", "title": "Encoding", "type": "string" }, "pubkeys": { "items": { "type": "string" }, "title": "Pubkeys", "type": "array" } }, "required": [ "pubkeys" ], "title": "get_multiple_accountsArguments", "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