SWAP Webhooks
SWAP webhooks example
referenceId: unique ID(orderId) of an swap transaction.
SWAP Webhooks Events
FAILED-> -1 (Order Expired)DEPOSIT_FOUND-> 1 (The crypto deposit has been secured, waiting for confirmations.)DEPOSIT_CONFIRMED-> 2 (The crypto deposit has been confirmed.)SWAP_PROCESSED-> 7 ( Swap Order Processed)ON_CHAIN_INITIATED-> 9 (Withdraw Initiated)ON_CHAIN_PROCESSED-> 10 (Withdraw processed successfully -> FINAL STATE )
{
"referenceId":102323,
"eventType":"swap",
"status":"ON_CHAIN_PROCESSED",
"metadata":{
"eventId": 22,
"eventCreatedAt": "2023-11-17T13:33:14.000Z"
"txHash": "0x12345.."
}
}Last updated