get-contract-events
Query and retrieve events emitted by smart contracts on the Osmosis blockchain. Filter results by event type and set limits for efficient data analysis.
Instructions
Returns events emitted by a contract
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>"
},
"name": "get-contract-events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractAddress | Yes | The contract address to query | |
| eventType | No | Optional: filter by specific event type | |
| limit | No | Maximum number of events to return (default: 50) |