---
title: "User Quote"
method: POST
path: "/quote/user"
tags: ["quote"]
deprecated: true
---

# User Quote

`POST /quote/user`

> **Deprecated.**

Deprecated: Use /quote/bridge-swap/user instead. Fetch bridge user quote when authenticated.

## Request body

- object
  - `token` string, required — The token symbol to bridge (e.g., "USDT", "USDC"). Must be supported on both source and destination chains.
  - `chainIn` string, required — The source chain ID
  - `chainOut` string, required — The target chain ID
  - `amount` string, required — a string to be decoded into a BigDecimal
  - `amountNative` string — a string to be decoded into a BigDecimal
  - `mode` 'pay' | 'receive', required — "pay" for exact amount to pay (including fees), "receive" for exact amount to receive.
  - `isSda` 'true' | 'false' — a string to be decoded into a boolean
  - `depositor` string, required — The address initiating the bridge transaction.
  - `recipient` string, required — The address to receive the bridged tokens.
  - `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
  - `webhookUrl` string

## Response `200`

ConnectedSingleBridgeQuoteResponseSchema

- union
  - ConnectedSingleBridgeQuoteResponseSchema
    - `_tag` 'bridge', required
    - `chainIn` string, required — The source chain ID
    - `chainOut` string, required — The target chain ID
    - `payAmount` string, required — a string to be decoded into a BigDecimal
    - `payAmountUsd` number, required — a number to be decoded into a BigDecimal
    - `receiveAmount` string, required — a string to be decoded into a BigDecimal
    - `receiveAmountUsd` number, required — a number to be decoded into a BigDecimal
    - `fees` object, required — Breakdown of all fees associated with the transaction.
      - `fee` string, required — Total fee amount in token units.
      - `feeUsd` number, required — Total fee amount in USD.
      - `gasFee` string, required — a string to be decoded into a BigDecimal
      - `gasFeeUsd` 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
      - `platformFee` string, required — Platform fee amount in token units.
      - `platformFeeUsd` number, required — Platform fee amount in USD.
      - `percentageFee` string, required — Percentage-based fee amount in token units.
      - `percentageFeeUsd` number, required — Percentage-based fee amount in USD.
      - `percentageFeeAmount` number, required — a number to be decoded into a BigDecimal
      - `percentageFeeThreshold` number, required — a number to be decoded into a BigDecimal
      - `sponsoredFees` object — Sponsored fees breakdown (optional).
        - `fee` string, required — Total fee amount in token units.
        - `feeUsd` number, required — Total fee amount in USD.
        - `gasFee` string, required — a string to be decoded into a BigDecimal
        - `gasFeeUsd` 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
        - `platformFee` string, required — Platform fee amount in token units.
        - `platformFeeUsd` number, required — Platform fee amount in USD.
        - `percentageFee` string, required — Percentage-based fee amount in token units.
        - `percentageFeeUsd` number, required — Percentage-based fee amount in USD.
    - `promotion` object — Promotion details if applicable (optional).
      - `name` string, required
      - `maxLimitUsd` number, required — a number to be decoded into a BigDecimal
    - `gasBoost` object — Gas amount to receive on the destination chain.
      - `amountNative` string, required — a string to be decoded into a BigDecimal
      - `amountNativeUsd` number, required — a number to be decoded into a BigDecimal
      - `amountNativeTokenCost` string, required — a string to be decoded into a BigDecimal
    - `speed` 'fast' | 'standard' | 'slow' — Transaction speed (optional).
    - `estimatedDuration` number — Estimated time for the transaction to complete in milliseconds (optional).
    - `token` string, required — Token symbol or identifier being bridged.
    - `depositor` string, required — The address initiating the bridge transaction.
    - `recipient` string, required — The address to receive the bridged tokens.
    - `postBridgeData` union — Configuration for post-bridge actions (e.g., staking, lending). Must be omitted if your client does not have PBA enabled. See https://docs.rhino.fi/api-integration/smart-deposits#post-bridge-data for details.
      - 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
    - `webhookUrl` string — Optional URL for webhook notifications when the bridge completes or fails.
    - `expiresAt` string, required — Timestamp when the quote expires and can no longer be committed.
    - `quoteId` string, required — Unique identifier for the committed quote.
    - `flowCredits` number, required — a number to be decoded into a BigDecimal
  - ConnectedBridgeSwapQuoteResponseSchema
    - `_tag` 'bridgeSwap', required
    - `chainIn` string, required — The source chain ID
    - `chainOut` string, required — The target chain ID
    - `payAmount` string, required — a string to be decoded into a BigDecimal
    - `payAmountUsd` number, required — a number to be decoded into a BigDecimal
    - `receiveAmount` string, required — a string to be decoded into a BigDecimal
    - `receiveAmountUsd` number, required — a number to be decoded into a BigDecimal
    - `fees` object, required — Breakdown of all fees associated with the transaction.
      - `fee` string, required — Total fee amount in token units.
      - `feeUsd` number, required — Total fee amount in USD.
      - `gasFee` string, required — a string to be decoded into a BigDecimal
      - `gasFeeUsd` 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
      - `platformFee` string, required — Platform fee amount in token units.
      - `platformFeeUsd` number, required — Platform fee amount in USD.
      - `percentageFee` string, required — Percentage-based fee amount in token units.
      - `percentageFeeUsd` number, required — Percentage-based fee amount in USD.
      - `percentageFeeAmount` number, required — a number to be decoded into a BigDecimal
      - `percentageFeeThreshold` number, required — a number to be decoded into a BigDecimal
      - `sponsoredFees` object — Sponsored fees breakdown (optional).
        - `fee` string, required — Total fee amount in token units.
        - `feeUsd` number, required — Total fee amount in USD.
        - `gasFee` string, required — a string to be decoded into a BigDecimal
        - `gasFeeUsd` 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
        - `platformFee` string, required — Platform fee amount in token units.
        - `platformFeeUsd` number, required — Platform fee amount in USD.
        - `percentageFee` string, required — Percentage-based fee amount in token units.
        - `percentageFeeUsd` number, required — Percentage-based fee amount in USD.
    - `promotion` object — Promotion details if applicable (optional).
      - `name` string, required
      - `maxLimitUsd` number, required — a number to be decoded into a BigDecimal
    - `gasBoost` object — Gas amount to receive on the destination chain.
      - `amountNative` string, required — a string to be decoded into a BigDecimal
      - `amountNativeUsd` number, required — a number to be decoded into a BigDecimal
      - `amountNativeTokenCost` string, required — a string to be decoded into a BigDecimal
    - `speed` 'fast' | 'standard' | 'slow' — Transaction speed (optional).
    - `estimatedDuration` number — Estimated time for the transaction to complete in milliseconds (optional).
    - `tokenIn` string, required — Token symbol or identifier being sent from the source chain.
    - `tokenOut` string, required — Token symbol or identifier being received on the destination chain.
    - `bridgeToken` string, required — Intermediate token used for the bridge operation.
    - `bridgePayAmount` string, required — a string to be decoded into a BigDecimal
    - `bridgePayAmountUsd` number, required — a number to be decoded into a BigDecimal
    - `bridgeReceiveAmount` string, required — a string to be decoded into a BigDecimal
    - `minReceiveAmount` string, required — a string to be decoded into a BigDecimal
    - `minReceiveAmountUsd` 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
    - `isAtomicSwap` boolean — Whether this is an atomic swap operation (optional).
    - `depositor` string, required — The address initiating the bridge transaction.
    - `recipient` string, required — The address to receive the bridged tokens.
    - `postBridgeData` union — Configuration for post-bridge actions (e.g., staking, lending). Must be omitted if your client does not have PBA enabled. See https://docs.rhino.fi/api-integration/smart-deposits#post-bridge-data for details.
      - 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
    - `webhookUrl` string — Optional URL for webhook notifications when the bridge completes or fails.
    - `expiresAt` string, required — Timestamp when the quote expires and can no longer be committed.
    - `quoteId` string, required — Unique identifier for the committed quote.
    - `flowCredits` number, required — a number to be decoded into a BigDecimal
  - ConnectedDepositAddressBridgeQuoteResponseSchema
    - `_tag` 'depositAddressBridge', required
    - `chainIn` string, required — The source chain ID
    - `chainOut` string, required — The target chain ID
    - `payAmount` string, required — a string to be decoded into a BigDecimal
    - `payAmountUsd` number, required — a number to be decoded into a BigDecimal
    - `receiveAmount` string, required — a string to be decoded into a BigDecimal
    - `receiveAmountUsd` number, required — a number to be decoded into a BigDecimal
    - `fees` object, required — Breakdown of all fees associated with the transaction.
      - `fee` string, required — Total fee amount in token units.
      - `feeUsd` number, required — Total fee amount in USD.
      - `gasFee` string, required — a string to be decoded into a BigDecimal
      - `gasFeeUsd` 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
      - `platformFee` string, required — Platform fee amount in token units.
      - `platformFeeUsd` number, required — Platform fee amount in USD.
      - `percentageFee` string, required — Percentage-based fee amount in token units.
      - `percentageFeeUsd` number, required — Percentage-based fee amount in USD.
      - `percentageFeeAmount` number, required — a number to be decoded into a BigDecimal
      - `percentageFeeThreshold` number, required — a number to be decoded into a BigDecimal
      - `sponsoredFees` object — Sponsored fees breakdown (optional).
        - `fee` string, required — Total fee amount in token units.
        - `feeUsd` number, required — Total fee amount in USD.
        - `gasFee` string, required — a string to be decoded into a BigDecimal
        - `gasFeeUsd` 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
        - `platformFee` string, required — Platform fee amount in token units.
        - `platformFeeUsd` number, required — Platform fee amount in USD.
        - `percentageFee` string, required — Percentage-based fee amount in token units.
        - `percentageFeeUsd` number, required — Percentage-based fee amount in USD.
    - `promotion` object — Promotion details if applicable (optional).
      - `name` string, required
      - `maxLimitUsd` number, required — a number to be decoded into a BigDecimal
    - `gasBoost` object — Gas amount to receive on the destination chain.
      - `amountNative` string, required — a string to be decoded into a BigDecimal
      - `amountNativeUsd` number, required — a number to be decoded into a BigDecimal
      - `amountNativeTokenCost` string, required — a string to be decoded into a BigDecimal
    - `speed` 'fast' | 'standard' | 'slow' — Transaction speed (optional).
    - `estimatedDuration` number — Estimated time for the transaction to complete in milliseconds (optional).
    - `token` string, required
    - `depositor` string, required — The address initiating the bridge transaction.
    - `recipient` string, required — The address to receive the bridged tokens.
    - `postBridgeData` union — Configuration for post-bridge actions (e.g., staking, lending). Must be omitted if your client does not have PBA enabled. See https://docs.rhino.fi/api-integration/smart-deposits#post-bridge-data for details.
      - 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
    - `webhookUrl` string — Optional URL for webhook notifications when the bridge completes or fails.
    - `expiresAt` string, required — Timestamp when the quote expires and can no longer be committed.
    - `quoteId` string, required — Unique identifier for the committed quote.
    - `flowCredits` number, required — a number to be decoded into a BigDecimal

## Other responses

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

---

[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/revisions/fb4dd5f3c1b3/schema)
