Data onchain query
data_onchain_queryOne data.onchain_query answer, bought through Moonbeam. The answer is checked before you are charged, and a failed answer is not charged. One call is 0.013714 USDC, paid with x402 on Base.
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": {
"question": "<question>",
"chainId": "<chainId>"
},
"name": "data_onchain_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | No | pool_tokens: a Uniswap V3 pool address | |
| block | No | block_hash: a block number | |
| chainId | Yes | ||
| question | Yes |