stellar_soroban_get_events
Retrieve historical events from a Soroban smart contract by specifying a start ledger and optional filters like contract IDs, topics, and limit.
Instructions
Fetch historical events emitted by a Soroban smart 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": {
"startLedger": "<startLedger>"
},
"name": "stellar_soroban_get_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startLedger | Yes | The ledger sequence number to start fetching events from | |
| contractIds | No | Array of contract IDs (C...) to filter by | |
| topics | No | Array of topic strings (e.g. 'transfer', '*') to filter by | |
| limit | No | Maximum number of events to return |