get_events_of_latest_block
Retrieves events from the current event-bearing block, skipping empty blocks. Supports network selection and confirmed-only filtering for event monitoring.
Instructions
Get events from the most recent block that contains events (skips empty blocks). Results may be limited by the API default page size and subject to event indexing lag. For precise control, use get_events_by_block_number with a specific block number and limit/fingerprint pagination.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_events_of_latest_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network name. Defaults to mainnet. | |
| onlyConfirmed | No | Only return confirmed events |