Onchain Info
onchain_infoFetch a token's on-chain footprint: total supply, holders, and circulating market cap from REST, RPC, and explorer sources. Supply crosscheck flags implied vs reported capitalization mismatches.
Instructions
On-chain footprint of a token, joined from three independent sources (each fails to a warning, never silently):
REST metadata: contract, chain_id, network, decimals, isin
RPC (publicnode eth_call): total_supply = totalSupply()/1e18
explorer (Blockscout): holders_count, circulating_market_cap
supply_crosscheck compares the REST-implied capitalization (total_supply * multiplier * quote mid) with the explorer's circulating_market_cap; a >1% divergence lands in warnings[] (both values still returned). Every derived field carries a per-field "source" tag ("rpc" | "explorer" | "rest"). Example: onchain_info(symbol="AAPL")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "onchain_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||