Automated Finance Logoautomated.finance
AutomationsEvents

DeFi Position Events

Events related to changes in Decentralized Finance (DeFi) positions.

defi.position.updated

Triggered when a tracked DeFi position is updated (e.g., value change, rewards accrued).

Available Data

FieldTypeDescription
position_iddefi_positionUnique identifier of the position
protocolstringProtocol name (e.g., Aave, Uniswap)
chainstringBlockchain network
health_factornumericHealth factor of the position (if applicable)
net_valueamountNet value of the position in USD
assetslistList of assets in the position
debtslistList of debts in the position

defi.strategy.position.updated

Triggered when a specific strategy within a DeFi position is updated.

Available Data

FieldTypeDescription
strategy_idstringUnique identifier of the strategy
position_iddefi_positionLinked position ID
statusstringStrategy status
performanceobjectPerformance metrics (APY, PnL)

Example Usage

{
  "hook_type": "defi.position.updated",
  "data": {
    "protocol": "Aave",
    "net_value": "15000.00",
    "health_factor": "1.5"
  }
}