Skip to main content

Types

userTxType​

userTxTypeDescription
approveToken approval transaction
fund-movrIndicates a Swap+Bridge or only Bridging transaction
claimUser transaction to claim funds on destination chain
dex-swapTransaction for swapping tokens
signUsers sign a message with intent to bridge

txType​

txTypeDescription
eth_sendTransactionUser's wallet needs to call eth_sendTransaction method
eth_signMessageUser's wallet needs to sign tx with eth_signMessagemethod

StepTypes​

stepDescription
bridgeBridging step in tx
middlewareDEX swap or refuel step in tx

UserTxStatus ​

statusDescription
READYThe next transaction needs to be performed by fetching the tx data from /build-next-tx (only relevant for Multi Tx Bridging)
PENDINGThe current transaction or bridging process is in progress and no action needs to be taken
COMPLETEDTransaction has completed and user does not have to take any more action
FAILEDTransaction failed on-chain

bridgeRouteErrors​

ErrorDescription
INSUFFICIENT_LIQUIDITYBridge has insufficient liquidity for token on destination chain
BRIDGE_QUOTE_TIMEOUTBridge did not return a quote within timeout interval
MIN_AMOUNT_NOT_METInput amount is less than bridge's minimum bridging amount for given token
MAX_AMOUNT_EXCEEDEDInput amount exceeds bridge's maximum bridging amount for given token
CONTRACT_RECEIVER_NOT_SUPPORTEDBridge does not support a contract as receiver address on the destination chain
DIFFERENT_RECEIVER_NOT_SUPPORTEDBridge requires receiver address on destination chain to be same as sender on source chain
INSUFFICIENT_INPUT_AMOUNTBridge requires a higher input amount to cover destination fees
SOCKET_INTERNAL_ERRORInternal Error
UNSUPPORTED_CHAINBridge does not support source/destination chain requested in quote
ASSET_NOT_SUPPORTEDBridge does not support asset requested in quote