Scheduler Events
Events triggered periodically based on resource monitoring.
scheduler
Triggered at regular intervals or when specific conditions are met for monitored resources.
Supported Resources
EvmWallet: For monitoring wallet balances and transactions.DefiPosition: For monitoring DeFi position health and earnings.
Available Data
| Field | Type | Description |
|---|---|---|
resource_id | uuid | ID of the monitored resource |
resource_type | string | Type of resource (EvmWallet, DefiPosition) |
timestamp | string | Date and time of the event |
chain_cache | object | Cached blockchain data |
EvmWallet Specific Data
| Field | Type | Description |
|---|---|---|
address | wallet | Wallet address |
balance | amount | Native token balance |
DefiPosition Specific Data
| Field | Type | Description |
|---|---|---|
position_id | defi_position | ID of the DeFi position |
protocol_name | string | Name of the DeFi protocol |
balance | amount | Current position balance |
position_info | object | Detailed position metrics |
Example Usage
{
"hook_type": "scheduler",
"resourceable_type": "EvmWallet",
"data": {
"address": "0x123...",
"balance": "5.0"
}
}