ucai_query_historical_data
Query historical smart contract data: transactions, event logs, state changes, and balance history across major EVM networks like Ethereum, Arbitrum, and Base.
Instructions
Query historical data for a smart contract including transactions, event logs, and state changes over time. Price: $0.02 per query.
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": {
"contractAddress": "<contractAddress>",
"dataType": "<dataType>"
},
"name": "ucai_query_historical_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return | |
| network | No | The blockchain network to use | arbitrum |
| toBlock | No | End block (number or 'latest') | |
| dataType | Yes | Type of historical data to query | |
| fromBlock | No | Start block (number or 'earliest') | |
| eventFilter | No | Filter for event logs | |
| contractAddress | Yes | Contract address |