Skip to main content
Glama
0xReisearch

REI Crypto MCP Server

by 0xReisearch

get_stablecoin_dominance

Retrieve stablecoin dominance data for specific blockchain networks to analyze market share distribution and identify the largest stablecoin on each chain.

Instructions

GET /stablecoins/stablecoindominance/{chain}

Get stablecoin dominance per chain along with the info about the largest coin in a chain. Parameters: chain: chain slug (e.g., 'Ethereum') stablecoin: stablecoin ID (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYes
stablecoinNo

Implementation Reference

  • This is the handler function for the 'get_stablecoin_dominance' tool. It is decorated with @mcp.tool() which registers it in the MCP server and defines its schema from the signature and docstring. The function makes an API request to DefiLlama's stablecoin dominance endpoint.
    @mcp.tool() async def get_stablecoin_dominance(chain: str, stablecoin: Optional[int] = None) -> str: """GET /stablecoins/stablecoindominance/{chain} Get stablecoin dominance per chain along with the info about the largest coin in a chain. Parameters: chain: chain slug (e.g., 'Ethereum') stablecoin: stablecoin ID (optional) """ params = {} if stablecoin is not None: params['stablecoin'] = stablecoin result = await make_request('GET', f'/stablecoins/stablecoindominance/{chain}', params) return str(result)

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