Get logs
rpc_get_logsRetrieve indexed blockchain logs and events across EVM chains by filtering with block range, address, and topics for targeted data analysis.
Instructions
Query indexed logs/events with block range and topic filters.
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": {
"chainId": "<chainId>"
},
"name": "rpc_get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topics | No | ||
| address | No | ||
| chainId | Yes | EVM chain ID (for example 1 for Ethereum mainnet) | |
| toBlock | No | latest | |
| fromBlock | No | latest |