---
title: "Bridge Status (Withdraw Hash)"
method: GET
path: "/history/bridge/by-withdraw-hash/{withdrawTxHash}"
tags: ["history"]
---

# Bridge Status (Withdraw Hash)

`GET /history/bridge/by-withdraw-hash/{withdrawTxHash}`

Fetch the status of a single executed bridge by withdraw transaction hash.

## Path parameters

- `withdrawTxHash` string, required — Transaction hash of the withdrawal transaction.

## Response `200`

BridgeExecuted

- union
  - object
    - `_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, required — a string to be decoded into a BigDecimal
    - `amountNativeUsd` number, 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
    - `sourceGasFee` string, required — a string to be decoded into a BigDecimal
    - `sourceGasFeeUsd` number, required — a number to be decoded into a BigDecimal
    - `sponsoredFees` object, required
      - `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
      - `sourceGasFee` string, required — a string to be decoded into a BigDecimal
      - `sourceGasFeeUsd` 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
    - `speed` 'fast' | 'standard' | 'slow'
    - `estimatedDuration` number — a non-negative number to be decoded into a Duration
    - `postBridgeData` union
      - ExtendedPostBridgeData
        - `_tag` 'extended', required
        - `vaultId` integer, required — an integer
      - StarkwareBtcfiCampaignPostBridgeData
        - `_tag` 'starkwarebtcfi', required
      - WirexWrapPostBridgeData
        - `_tag` 'wirexwrap', required
      - WirexWrapSandboxPostBridgeData
        - `_tag` 'wirexwrapsandbox', required
      - StarkwareBtcfiCampaignV2PostBridgeData
        - `_tag` 'starkwarebtcfiv2', required
        - `spans` StarknetFelt[], required — an array of at most 70 item(s)
      - AaveV3SupplyPostBridgeData
        - `_tag` 'aavev3supply', required
      - RocketFoundationDepositPostBridgeData
        - `_tag` 'rocketfoundationdeposit', required
      - MapleDepositPostBridgeData
        - `_tag` 'mapledeposit', required
    - `flowCredits` number — a number to be decoded into a BigDecimal
    - `token` string, required
    - `usdPrice` number, required — a number to be decoded into a BigDecimal
    - `_tag` 'bridge'
    - `depositTxHash` string, required
    - `depositCommittedAt` string, required — a string to be decoded into a Date
    - `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
    - `withdrawTxHash` string, required
    - `withdrawCommittedAt` string, required — a string to be decoded into a Date
    - `state` 'EXECUTED', required
  - object
    - `_tag` 'bridgeSwap', required
    - `_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, required — a string to be decoded into a BigDecimal
    - `amountNativeUsd` number, 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
    - `sourceGasFee` string, required — a string to be decoded into a BigDecimal
    - `sourceGasFeeUsd` number, required — a number to be decoded into a BigDecimal
    - `sponsoredFees` object, required
      - `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
      - `sourceGasFee` string, required — a string to be decoded into a BigDecimal
      - `sourceGasFeeUsd` 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
    - `speed` 'fast' | 'standard' | 'slow'
    - `estimatedDuration` number — a non-negative number to be decoded into a Duration
    - `postBridgeData` union
      - ExtendedPostBridgeData
        - `_tag` 'extended', required
        - `vaultId` integer, required — an integer
      - StarkwareBtcfiCampaignPostBridgeData
        - `_tag` 'starkwarebtcfi', required
      - WirexWrapPostBridgeData
        - `_tag` 'wirexwrap', required
      - WirexWrapSandboxPostBridgeData
        - `_tag` 'wirexwrapsandbox', required
      - StarkwareBtcfiCampaignV2PostBridgeData
        - `_tag` 'starkwarebtcfiv2', required
        - `spans` StarknetFelt[], required — an array of at most 70 item(s)
      - AaveV3SupplyPostBridgeData
        - `_tag` 'aavev3supply', required
      - RocketFoundationDepositPostBridgeData
        - `_tag` 'rocketfoundationdeposit', required
      - MapleDepositPostBridgeData
        - `_tag` 'mapledeposit', required
    - `flowCredits` number — a number to be decoded into a BigDecimal
    - `tokenIn` string, required
    - `tokenOut` string, required
    - `minAmountOut` string, required — a string to be decoded into a BigDecimal
    - `minAmountOutUsd` number, required — a number to be decoded into a BigDecimal
    - `usdPriceTokenIn` number, required — a number to be decoded into a BigDecimal
    - `usdPriceTokenOut` number, required — a number to be decoded into a BigDecimal
    - `preSwap` SwapQuote
      - `tokenIn` string, required
      - `tokenOut` 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
      - `minAmountOut` string, required — a string to be decoded into a BigDecimal
      - `minAmountOutUsd` number, required — a number to be decoded into a BigDecimal
      - `aggregator` union, required
        - 'KYBERSWAP'
        - 'RHINO'
        - 'ONEINCH'
        - 'BEBOP'
    - `postSwap` SwapQuote
      - `tokenIn` string, required
      - `tokenOut` 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
      - `minAmountOut` string, required — a string to be decoded into a BigDecimal
      - `minAmountOutUsd` number, required — a number to be decoded into a BigDecimal
      - `aggregator` union, required
        - 'KYBERSWAP'
        - 'RHINO'
        - 'ONEINCH'
        - 'BEBOP'
    - `mode` 'pay' | 'receive'
    - `isAtomicSwap` boolean
    - `swapFeeMultiplier` string — a string to be decoded into a BigDecimal
    - `depositTxHash` string, required
    - `depositCommittedAt` string, required — a string to be decoded into a Date
    - `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
    - `withdrawTxHash` string, required
    - `withdrawCommittedAt` string, required — a string to be decoded into a Date
    - `state` 'EXECUTED', required
  - object
    - `_tag` 'depositAddressBridge', required
    - `_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, required — a string to be decoded into a BigDecimal
    - `amountNativeUsd` number, 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
    - `sourceGasFee` string, required — a string to be decoded into a BigDecimal
    - `sourceGasFeeUsd` number, required — a number to be decoded into a BigDecimal
    - `sponsoredFees` object, required
      - `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
      - `sourceGasFee` string, required — a string to be decoded into a BigDecimal
      - `sourceGasFeeUsd` 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
    - `speed` 'fast' | 'standard' | 'slow'
    - `estimatedDuration` number — a non-negative number to be decoded into a Duration
    - `postBridgeData` union
      - ExtendedPostBridgeData
        - `_tag` 'extended', required
        - `vaultId` integer, required — an integer
      - StarkwareBtcfiCampaignPostBridgeData
        - `_tag` 'starkwarebtcfi', required
      - WirexWrapPostBridgeData
        - `_tag` 'wirexwrap', required
      - WirexWrapSandboxPostBridgeData
        - `_tag` 'wirexwrapsandbox', required
      - StarkwareBtcfiCampaignV2PostBridgeData
        - `_tag` 'starkwarebtcfiv2', required
        - `spans` StarknetFelt[], required — an array of at most 70 item(s)
      - AaveV3SupplyPostBridgeData
        - `_tag` 'aavev3supply', required
      - RocketFoundationDepositPostBridgeData
        - `_tag` 'rocketfoundationdeposit', required
      - MapleDepositPostBridgeData
        - `_tag` 'mapledeposit', required
    - `flowCredits` number — a number to be decoded into a BigDecimal
    - `token` string, required
    - `tokenOut` string
    - `usdPrice` number, required — a number to be decoded into a BigDecimal
    - `depositAddress` string, required
    - `preSwap` SwapQuote
      - `tokenIn` string, required
      - `tokenOut` 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
      - `minAmountOut` string, required — a string to be decoded into a BigDecimal
      - `minAmountOutUsd` number, required — a number to be decoded into a BigDecimal
      - `aggregator` union, required
        - 'KYBERSWAP'
        - 'RHINO'
        - 'ONEINCH'
        - 'BEBOP'
    - `postSwap` SwapQuote
      - `tokenIn` string, required
      - `tokenOut` 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
      - `minAmountOut` string, required — a string to be decoded into a BigDecimal
      - `minAmountOutUsd` number, required — a number to be decoded into a BigDecimal
      - `aggregator` union, required
        - 'KYBERSWAP'
        - 'RHINO'
        - 'ONEINCH'
        - 'BEBOP'
    - `depositTxHash` string, required
    - `depositCommittedAt` string, required — a string to be decoded into a Date
    - `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
    - `withdrawTxHash` string, required
    - `withdrawCommittedAt` string, required — a string to be decoded into a Date
    - `state` 'EXECUTED', required

## Other responses

- `400` — The request did not match the expected schema
- `401` — Unauthorized
- `422` — InvalidRequest

---

[API](https://skmtc.net/rhino/apis/bridge-api.md) · [All operations](https://skmtc.net/rhino/apis/bridge-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rhino/bridge-api/versions/fb4dd5f3c1b3/schema)
