Skip to main content
Glama

Model Context Protocol Server for Solana Client

by tywenk

get_token_accounts_by_owner

Retrieve all SPL Token accounts associated with a specific owner and mint address using the Solana blockchain. This method simplifies token account management and querying.

Instructions

Returns all SPL Token accounts by token owner.

Args: owner (str): Public key of token owner mint (str): Token mint address

Returns: str: Token accounts information

Input Schema

NameRequiredDescriptionDefault
mintYes
ownerYes

Input Schema (JSON Schema)

{ "properties": { "mint": { "title": "Mint", "type": "string" }, "owner": { "title": "Owner", "type": "string" } }, "required": [ "owner", "mint" ], "title": "get_token_accounts_by_ownerArguments", "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