Skip to main content

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

FieldTypeDescription
resource_iduuidID of the monitored resource
resource_typestringType of resource (EvmWallet, DefiPosition)
timestampstringDate and time of the event
chain_cacheobjectCached blockchain data

EvmWallet Specific Data

FieldTypeDescription
addresswalletWallet address
balanceamountNative token balance

DefiPosition Specific Data

FieldTypeDescription
position_iddefi_positionID of the DeFi position
protocol_namestringName of the DeFi protocol
balanceamountCurrent position balance
position_infoobjectDetailed position metrics

Example Usage

{
"hook_type": "scheduler",
"resourceable_type": "EvmWallet",
"data": {
"address": "0x123...",
"balance": "5.0"
}
}