get_events
Retrieve blockchain event logs by specifying network, contract addresses, and topic filters. Access detailed on-chain activity data for analysis and monitoring purposes.
Instructions
Fetches event logs for a given network and filter criteria
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": {
"network": "<network>",
"addresses": "<addresses>",
"topic": "<topic>"
},
"name": "get_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addresses | Yes | List of contract addresses to filter events | |
| fromBlock | No | Block number to start fetching logs from | |
| network | Yes | The blockchain network (e.g., "ethereum", "base") | |
| optionalTopics | No | Optional additional topics | |
| toBlock | No | Block number to stop fetching logs at | |
| topic | Yes | Primary topic to filter events |