Skip to main content
Glama
tdnupe3

Coin Railz MCP Server

by tdnupe3

get_batch_quote

Retrieve prices and metadata for multiple cryptocurrency tokens in one request to reduce API calls and streamline blockchain data analysis.

Instructions

Get quotes for multiple tokens in a single request.

Args: tokens: List of token addresses to quote chain: Blockchain network

Returns: Prices and metadata for all requested tokens.

Price: $0.25

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokensYes
chainNoethereum

Implementation Reference

  • The `get_batch_quote` tool is defined here, serving as the handler that triggers the Coin Railz 'batch-quote' service call.
    @mcp.tool()
    async def get_batch_quote(tokens: List[str], chain: str = "ethereum") -> str:
        """
        Get quotes for multiple tokens in a single request.
        
        Args:
            tokens: List of token addresses to quote
            chain: Blockchain network
        
        Returns:
            Prices and metadata for all requested tokens.
        
        Price: $0.25
        """
        payload = {"tokens": tokens, "chain": chain}
        result = await call_coinrailz_service("batch-quote", payload)
        return json.dumps(result, indent=2)

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/tdnupe3/mcp-server-coinrailz'

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