Bridge events
The following bridge events will be sent to your webhook servers. The bridge events data structure is the same as the Bridge Status endpoint excluding thestate field, use the _tag for the event type.
- BRIDGE_PENDING - sent when the bridge quote is committed
- BRIDGE_ACCEPTED - sent when the deposit transaction was received and validated
- BRIDGE_EXECUTED - sent when the bridge is completed and received on the destination chain
- BRIDGE_REFUNDED - when a swap is involved, the bridge might get refunded if the token price moved too much since the quote was emitted
- BRIDGE_CANCELLED - sent when a committed bridge is CANCELLED (note that that cancelled bridges can still be actioned if a matching deposit is detected on-chain, subsequent bridge events will be sent)
Smart Deposit Addresses events
DEPOSIT_ADDRESS_CREATED
When a new Smart Deposit Address is generated, theDEPOSIT_ADDRESS_CREATED event will be sent.
Event structure:
BRIDGE_*
The sameBRIDGE_PENDING, BRIDGE_ACCEPTED and BRIDGE_EXECUTED events as described above will be sent for Smart Deposit Addresses.
DEPOSIT_ADDRESS_BRIDGE_REJECTED
When a Smart Deposit Address bridge is rejected, theDEPOSIT_ADDRESS_BRIDGE_REJECTED event will be sent.
Event structure:
DEPOSIT_ADDRESS_BRIDGE_DELAYED
Sometimes some bridges can take a bit longer than usual, in this case theDEPOSIT_ADDRESS_BRIDGE_DELAYED event is sent.
Event structure: