get-contract-events
Query and retrieve events emitted by a smart contract on the Osmosis blockchain, filtering by event type and setting result limits.
Instructions
Returns events emitted by a contract
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) |
Input Schema (JSON Schema)
{
"properties": {
"contractAddress": {
"description": "The contract address to query",
"type": "string"
},
"eventType": {
"description": "Optional: filter by specific event type",
"type": "string"
},
"limit": {
"description": "Maximum number of events to return (default: 50)",
"maximum": 200,
"minimum": 1,
"type": "number"
}
},
"required": [
"contractAddress"
],
"type": "object"
}