list_blockchain_services
Discover available blockchain networks supported by Pocket Network, including Ethereum, Solana, Cosmos, and Sui. Filter services by category to identify compatible networks for your decentralized applications.
Instructions
List all available blockchain services/networks supported by Pocket Network
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Optional category filter (e.g., "evm", "layer2", "non-evm") |
Implementation Reference
- Handler logic for 'list_blockchain_services' tool: extracts optional category from args, calls blockchainService.getServicesByCategory() or getAllServices(), and returns the services list as formatted JSON text.case 'list_blockchain_services': { const category = args?.category as string | undefined; const services = category ? blockchainService.getServicesByCategory(category) : blockchainService.getAllServices(); return { content: [ { type: 'text', text: JSON.stringify(services, null, 2), }, ], }; }
- Input schema defining the optional 'category' parameter for filtering blockchain services.inputSchema: { type: 'object', properties: { category: { type: 'string', description: 'Optional category filter (e.g., "evm", "layer2", "non-evm")', }, }, },
- src/handlers/blockchain-handlers.ts:30-42 (registration)Tool registration entry in the tools array returned by registerBlockchainHandlers, including name, description, and input schema.{ name: 'list_blockchain_services', description: 'List all available blockchain services/networks supported by Pocket Network', inputSchema: { type: 'object', properties: { category: { type: 'string', description: 'Optional category filter (e.g., "evm", "layer2", "non-evm")', }, }, }, },