Skip to main content
The events you receive depend on the type of transaction:
  • Bridge and bridge+swap transfers, created with POST /bridge/quote/bridge-swap/user
  • Smart Deposit Address activity, for addresses created with POST /sda/deposit-addresses
For how webhooks fit with the status and history endpoints, see Track transactions.

Bridge and bridge+swap events

Bridge events have the same data structure as the bridge status endpoint response, without the state field. The _tag field gives the event type, and _id is the transfer’s quote ID.
A cancelled transfer can still go ahead if a matching deposit is detected onchain. In that case, you receive the later bridge events as normal.
Event names and status-endpoint states don’t always match. A refunded swap is BRIDGE_REFUNDED as a webhook event and SWAP_FAILED_REFUNDED as a state. See States.

Smart Deposit Address events

These events are sent for any activity involving a Rhino.fi Smart Deposit Address.

DEPOSIT_ADDRESS_CREATED

Sent when a new Smart Deposit Address is created.

BRIDGE_PENDING, BRIDGE_ACCEPTED and BRIDGE_EXECUTED

The same events as for bridge transfers above are sent for each deposit to a Smart Deposit Address. For SDAs, BRIDGE_PENDING is sent when a deposit is detected.

DEPOSIT_ADDRESS_BRIDGE_REJECTED

Sent when a deposit to a Smart Deposit Address is rejected, for example because it is below the minimum amount.

DEPOSIT_ADDRESS_BRIDGE_REJECTED - UNSUPPORTED_TOKEN

Sent when a deposit is rejected because Rhino.fi doesn’t support the token that was sent. See Supported chains and tokens for the full list.
Rhino.fi monitors a selection of unsupported tokens on each chain, but not every unsupported token. Some deposits of unsupported tokens may not trigger this event.
The payload is the same as DEPOSIT_ADDRESS_BRIDGE_REJECTED, with this _tag:

DEPOSIT_ADDRESS_BRIDGE_DELAYED

Sent when a deposit is taking longer than expected to settle, for example because of onchain congestion. The transfer is retried automatically, and no action is needed.

SDA_REFUND_COMPLETED

Sent when a refund is issued from a Smart Deposit Address.
The trigger._tag field gives the reason for the refund:
  • REJECTED_BRIDGE: a deposit Rhino.fi detected but rejected. originalDepositTxHash contains the hash of the original deposit, and amount and tokenSymbol have values.
  • UNSUPPORTED_TOKEN: a deposit of an unsupported token. originalDepositTxHash isn’t available, because the deposit wasn’t detected by Rhino.fi.

Event flows

For how events follow each other, see Webhook event state transitions.