get_events_guide
Get Solidity code to subscribe to on-chain indicator alerts. Includes contract that approves LINK, subscribes, listens for events, and cancels for a refund.
Instructions
Get Solidity code to subscribe to Pythia Events (indicator alerts).
Returns a complete contract that approves LINK, subscribes to an indicator alert, listens for PythiaEvent, and can cancel for a refund.
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_guide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |