Skip to main content
GET
/
history
/
bridge
/
by-hash
/
{withdrawTxHash}
Bridge Status
curl --request GET \
  --url https://api.rhino.fi/bridge/history/bridge/by-hash/{withdrawTxHash} \
  --header 'authorization: <api-key>'
{
  "state": "EXECUTED",
  "_id": "<string>",
  "userId": "<string>",
  "chainIn": "<string>",
  "chainOut": "<string>",
  "amountIn": "<string>",
  "amountInUsd": 123,
  "amountOut": "<string>",
  "amountOutUsd": 123,
  "amountNative": "<string>",
  "amountNativeUsd": 123,
  "fee": "<string>",
  "feeUsd": 123,
  "gasFee": "<string>",
  "gasFeeUsd": 123,
  "platformFee": "<string>",
  "platformFeeUsd": 123,
  "percentageFee": "<string>",
  "percentageFeeUsd": 123,
  "recipient": "<string>",
  "depositor": "<string>",
  "createdAt": "<string>",
  "commitmentDate": "<string>",
  "speed": "fast",
  "estimatedDuration": 1,
  "postBridgeData": {
    "_tag": "extended",
    "vaultId": 1
  },
  "additionalSteps": [
    {
      "_tag": "KarnotWithdrawal",
      "txHash": "<string>",
      "chain": "<string>",
      "createdAt": "<string>"
    }
  ],
  "token": "<string>",
  "usdPrice": 123,
  "_tag": "bridge",
  "depositTxHash": "<string>",
  "depositCommittedAt": "<string>",
  "depositDiscoveredAt": "<string>",
  "depositConfirmedAt": "<string>",
  "expectedDepositConfirmedAt": "<string>",
  "expectedDepositConfirmedAtBlock": 123,
  "preSwapTxHash": "<string>",
  "preSwapCommittedAt": "<string>",
  "isConfirmed": true,
  "withdrawTxHash": "<string>",
  "withdrawCommittedAt": "<string>"
}

Authorizations

authorization
string
header
required

Path Parameters

withdrawTxHash
string
required

Response

BridgeExecuted

  • Option 1
  • Option 2
  • Option 3
state
enum<string>
required
Available options:
EXECUTED
_id
string
required
userId
string
required
chainIn
string
required
chainOut
string
required
amountIn
string
required

a string to be decoded into a BigDecimal

amountInUsd
number
required

a number to be decoded into a BigDecimal

amountOut
string
required

a string to be decoded into a BigDecimal

amountOutUsd
number
required

a number to be decoded into a BigDecimal

amountNative
string | null
required

a string to be decoded into a BigDecimal

amountNativeUsd
number | null
required

a number to be decoded into a BigDecimal

fee
string
required

a string to be decoded into a BigDecimal

feeUsd
number
required

a number to be decoded into a BigDecimal

gasFee
string
required

a string to be decoded into a BigDecimal

gasFeeUsd
number
required

a number to be decoded into a BigDecimal

platformFee
string
required

a string to be decoded into a BigDecimal

platformFeeUsd
number
required

a number to be decoded into a BigDecimal

percentageFee
string
required

a string to be decoded into a BigDecimal

percentageFeeUsd
number
required

a number to be decoded into a BigDecimal

recipient
string
required
depositor
string
required
createdAt
string
required

a string to be decoded into a Date

commitmentDate
string
required

a string to be decoded into a Date

token
string
required
usdPrice
number
required

a number to be decoded into a BigDecimal

depositTxHash
string
required
depositCommittedAt
string
required

a string to be decoded into a Date

withdrawTxHash
string
required
withdrawCommittedAt
string
required

a string to be decoded into a Date

speed
enum<string>
Available options:
fast,
standard,
slow
estimatedDuration
number

a non-negative number to be decoded into a Duration

Required range: x >= 0
postBridgeData
object
  • Option 1
  • Option 2
additionalSteps
object[]
_tag
enum<string>
Available options:
bridge
depositDiscoveredAt
string

a string to be decoded into a Date

depositConfirmedAt
string

a string to be decoded into a Date

expectedDepositConfirmedAt
string

a string to be decoded into a Date

expectedDepositConfirmedAtBlock
integer

an integer

preSwapTxHash
string
preSwapCommittedAt
string

a string to be decoded into a Date

isConfirmed
boolean