Automated Finance Logoautomated.finance
AutomationsEvents

Cross-Chain Swap

Events related to token swaps executed across different blockchain networks.

cross.swap.completed

Triggered when a cross-chain swap operation is successfully completed.

Available Data

FieldTypeDescription
cross_swap_idstringUnique identifier for the cross-chain swap
statusstringFinal status of the swap
from_chainobjectInformation about the source chain
to_chainobjectInformation about the destination chain
from_tokenobjectInformation about the source token
to_tokenobjectInformation about the destination token
from_amountamountAmount sent from source chain
to_amountamountAmount received on destination chain
to_addresswalletDestination wallet address
executed_atstringDate and time of execution

Example Usage

{
  "hook_type": "cross.swap.completed",
  "data": {
    "from_chain": { "name": "Ethereum" },
    "to_chain": { "name": "Polygon" },
    "from_token": { "symbol": "USDC" },
    "to_token": { "symbol": "USDC" },
    "amount_out": "99.50"
  }
}