Skip to main content
Glama
0xReisearch

REI Crypto MCP Server

by 0xReisearch

get_bridge_day_stats

Retrieve a 24-hour token and address volume breakdown for a specific bridge, using a Unix timestamp and chain slug. Optional bridge ID can refine results.

Instructions

GET /bridgedaystats/{timestamp}/{chain}

Get a 24hr token and address volume breakdown for a bridge. Parameters: timestamp: Unix timestamp for the 24hr period starting at 00:00 UTC chain: chain slug (e.g., 'Ethereum') id: bridge ID (optional, can be retrieved from /bridges)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYes
idNo
timestampYes

Implementation Reference

  • The tool handler function, registered via @mcp.tool() decorator. Schema defined by type annotations (timestamp: int, chain: str, id: Optional[int]=None) and docstring. Executes API request to DefiLlama /bridgedaystats endpoint and returns JSON string.
    @mcp.tool() async def get_bridge_day_stats( timestamp: int, chain: str, id: Optional[int] = None ) -> str: """GET /bridgedaystats/{timestamp}/{chain} Get a 24hr token and address volume breakdown for a bridge. Parameters: timestamp: Unix timestamp for the 24hr period starting at 00:00 UTC chain: chain slug (e.g., 'Ethereum') id: bridge ID (optional, can be retrieved from /bridges) """ params = {} if id is not None: params['id'] = id result = await make_request('GET', f'/bridgedaystats/{timestamp}/{chain}', params) return str(result)
  • The @mcp.tool() decorator registers the get_bridge_day_stats function as an MCP tool.
    @mcp.tool()

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/0xReisearch/crypto-mcp-beta'

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