Skip to main content
Glama
getpara
by getpara

get_wallet

Retrieve wallet details including status, address, and public key by providing the wallet ID. This tool enables AI agents to access and manage wallet information across multiple blockchain networks.

Instructions

Get wallet details by ID, including status, address, and public key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
walletIdYesThe wallet ID returned from create_wallet

Implementation Reference

  • The handler function for 'get_wallet' that fetches wallet details from the API.
    export async function handler(client: ParaClient, args: Record<string, unknown>) {
      const walletId = args.walletId as string;
    
      const wallet = await client.requestWithRetry<Wallet>(`/v1/wallets/${walletId}`);
    
      return {
        content: [
          {
            type: 'text' as const,
            text: JSON.stringify(wallet, null, 2),
          },
        ],
      };
    }
  • The definition and input schema for the 'get_wallet' tool.
    export const definition = {
      name: 'get_wallet',
      description: 'Get wallet details by ID, including status, address, and public key.',
      inputSchema: {
        type: 'object' as const,
        properties: {
          walletId: {
            type: 'string',
            description: 'The wallet ID returned from create_wallet',
          },
        },
        required: ['walletId'],
      },
    };

Latest Blog Posts

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/getpara/para-wallet-mcp'

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