Types
Constant values returned in API responses
userTxType
userTxType | Description |
---|---|
| Token approval transaction |
| Indicates a Swap+Bridge or only Bridging transaction |
| User transaction to claim funds on destination chain |
| Transaction for swapping tokens |
| Users sign a message with intent to bridge |
txType
txType | Description |
---|---|
| User's wallet needs to call |
| User's wallet needs to sign tx with |
StepTypes
step | Description |
---|---|
| Bridging step in tx |
| DEX swap or refuel step in tx |
UserTxStatus
status | Description |
---|---|
| The next transaction needs to be performed by fetching the tx data from /build-next-tx (only relevant for Multi Tx Bridging) |
| The current transaction or bridging process is in progress and no action needs to be taken |
| Transaction has completed and user does not have to take any more action |
| Transaction failed on-chain |
bridgeRouteErrors
Error | Description |
---|---|
| Bridge has insufficient liquidity for token on destination chain |
| Bridge did not return a quote within Socket's timeout interval |
| Input amount is less than bridge's minimum bridging amount for given token |
| Input amount exceeds bridge's maximum bridging amount for given token |
| Bridge does not support a contract as receiver address on the destination chain |
| Bridge requires receiver address on destination chain to be same as sender on source chain |
| Bridge requires a higher input amount to cover destination fees |
| Socket Internal Error |
| Bridge does not support source/destination chain requested in quote |
| Bridge does not support asset requested in quote |
Last updated