get_events_guide
Generate Solidity code to subscribe to Pythia oracle events for crypto indicators. Provides LINK approval, alert listening, and refundable subscription management.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |