> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rhino.fi/llms.txt
> Use this file to discover all available pages before exploring further.

# Obtain the status of a specific bridge transaction

> This endpoint provides the status of a bridge transaction as created through the `POST /quote/bridge-swap/user` endpoint. For status information for Smart Deposit Address transactions, the `GET /sda/deposit-addresses/{depositAddress}/{depositChain}` endpoint should be used.



## OpenAPI

````yaml https://api.rhino.fi/bridge/swagger.json get /history/bridge/{bridgeId}
openapi: 3.1.0
info:
  title: Bridge API
  version: 0.0.1
  description: Functionality for interacting with Rhino bridge service
servers:
  - url: https://api.rhino.fi/bridge
security: []
tags:
  - name: quote
  - name: configs
  - name: history
  - name: swap
paths:
  /history/bridge/{bridgeId}:
    get:
      tags:
        - history
      summary: Obtain the status of a specific bridge transaction
      description: >-
        This endpoint provides the status of a bridge transaction as created
        through the `POST /quote/bridge-swap/user` endpoint. For status
        information for Smart Deposit Address transactions, the `GET
        /sda/deposit-addresses/{depositAddress}/{depositChain}` endpoint should
        be used.
      operationId: history.bridgeHistory
      parameters:
        - name: bridgeId
          in: path
          schema:
            type: string
            description: >-
              The ID of the bridge transaction, also referred to as `quoteId`
              within the `POST /quote/bridge-swap/user` endpoint, e.g.
              "665f8b2e1c9d440000a1b2c3".
          required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                anyOf:
                  - anyOf:
                      - $ref: '#/components/schemas/BridgePendingEncoded'
                      - $ref: '#/components/schemas/BridgeSwapPendingEncoded'
                      - $ref: >-
                          #/components/schemas/DepositAddressBridgePendingEncoded
                      - $ref: '#/components/schemas/BridgePendingConfirmationEncoded'
                      - $ref: >-
                          #/components/schemas/BridgeSwapPendingConfirmationEncoded
                      - $ref: >-
                          #/components/schemas/DepositAddressBridgePendingConfirmationEncoded
                      - $ref: '#/components/schemas/BridgeCancelledEncoded'
                      - $ref: '#/components/schemas/BridgeSwapCancelledEncoded'
                      - $ref: '#/components/schemas/BridgeFailedEncoded'
                      - $ref: '#/components/schemas/BridgeSwapFailedEncoded'
                      - $ref: '#/components/schemas/DepositAddressBridgeFailedEncoded'
                      - $ref: '#/components/schemas/BridgeDepositAcceptedEncoded'
                      - $ref: '#/components/schemas/BridgeSwapDepositAcceptedEncoded'
                      - $ref: >-
                          #/components/schemas/DepositAddressBridgeDepositAcceptedEncoded
                      - $ref: '#/components/schemas/BridgeAcceptedEncoded'
                      - $ref: '#/components/schemas/BridgeSwapAcceptedEncoded'
                      - $ref: >-
                          #/components/schemas/DepositAddressBridgeAcceptedEncoded
                      - $ref: >-
                          #/components/schemas/DepositAddressBridgeExecutedEncoded
                      - $ref: '#/components/schemas/BridgeSwapRefundedEncoded'
                      - $ref: >-
                          #/components/schemas/DepositReceivedAfterGracePeriodEncoded
                      - $ref: >-
                          #/components/schemas/DepositReceivedAfterGracePeriodRefundedEncoded
                  - $ref: '#/components/schemas/BridgeExecutedEncoded'
                  - $ref: '#/components/schemas/BridgeSwapExecutedEncoded'
        '400':
          description: InvalidJwt | HttpApiDecodeError
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/InvalidJwtEncoded'
                  - $ref: '#/components/schemas/HttpApiDecodeErrorEncoded'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedEncoded'
        '422':
          description: InvalidRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestEncoded'
      security:
        - bearer: []
        - legacyApiKey: []
components:
  schemas:
    BridgePendingEncoded:
      type: object
      properties:
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        chain:
          anyOf:
            - type: string
              description: >-
                The name of the chain on which the single bridge transaction
                took place.
            - type: 'null'
        token:
          type: string
          description: The token symbol that was bridged (e.g. "ETH", "USDC").
        depositAddress:
          type: string
          description: >-
            The Rhino.fi smart contract address on the chainIn that received the
            tokens to initiate the bridge.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        _tag:
          type: string
          enum:
            - bridge
        state:
          type: string
          enum:
            - PENDING
      required:
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - state
      additionalProperties: false
    BridgeSwapPendingEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - bridgeSwap
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        tokenIn:
          type: string
          description: The asset that was sent on the chainIn.
        tokenOut:
          type: string
          description: The asset that was received on the chainOut.
        minAmountOut:
          type: string
          description: >-
            The minimum native value of tokenOut guaranteed to be received on
            the chainOut, after slippage.
        minAmountOutUsd:
          type: number
          description: The USD value of the minAmountOut.
        usdPriceTokenIn:
          type: number
          description: The USD price of the tokenIn at the time the quote was created.
        usdPriceTokenOut:
          type: number
          description: The USD price of the tokenOut at the time the quote was created.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        mode:
          type: string
          enum:
            - pay
            - receive
          description: >-
            Whether the amount represented the sending ("pay") or receiving
            ("receive") amount when the quote was generated.
        isAtomicSwap:
          type: boolean
          description: Whether the transaction was executed as an atomic swap.
        swapFeeMultiplier:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        state:
          type: string
          enum:
            - PENDING
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - tokenIn
        - tokenOut
        - minAmountOut
        - minAmountOutUsd
        - usdPriceTokenIn
        - usdPriceTokenOut
        - state
      additionalProperties: false
    DepositAddressBridgePendingEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - depositAddressBridge
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        token:
          type: string
          description: >-
            The asset deposited into the Smart Deposit Address on the chainIn.
            Where the deposit address performs a swap, the asset received on the
            chainOut may differ.
        tokenOut:
          type: string
          description: >-
            The asset received on the chainOut where the deposit address
            performs a swap.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        depositAddress:
          type: string
          description: >-
            The Rhino.fi Smart Deposit Address that the tokens were deposited
            to.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        paymentIntentId:
          $ref: '#/components/schemas/PaymentIntentId'
        state:
          type: string
          enum:
            - PENDING
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - state
      additionalProperties: false
    BridgePendingConfirmationEncoded:
      type: object
      properties:
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        chain:
          anyOf:
            - type: string
              description: >-
                The name of the chain on which the single bridge transaction
                took place.
            - type: 'null'
        token:
          type: string
          description: The token symbol that was bridged (e.g. "ETH", "USDC").
        depositAddress:
          type: string
          description: >-
            The Rhino.fi smart contract address on the chainIn that received the
            tokens to initiate the bridge.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        _tag:
          type: string
          enum:
            - bridge
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositDiscoveredAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        state:
          type: string
          enum:
            - PENDING_CONFIRMATION
      required:
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - depositTxHash
        - depositDiscoveredAt
        - expectedDepositConfirmedAt
        - expectedDepositConfirmedAtBlock
        - state
      additionalProperties: false
    BridgeSwapPendingConfirmationEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - bridgeSwap
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        tokenIn:
          type: string
          description: The asset that was sent on the chainIn.
        tokenOut:
          type: string
          description: The asset that was received on the chainOut.
        minAmountOut:
          type: string
          description: >-
            The minimum native value of tokenOut guaranteed to be received on
            the chainOut, after slippage.
        minAmountOutUsd:
          type: number
          description: The USD value of the minAmountOut.
        usdPriceTokenIn:
          type: number
          description: The USD price of the tokenIn at the time the quote was created.
        usdPriceTokenOut:
          type: number
          description: The USD price of the tokenOut at the time the quote was created.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        mode:
          type: string
          enum:
            - pay
            - receive
          description: >-
            Whether the amount represented the sending ("pay") or receiving
            ("receive") amount when the quote was generated.
        isAtomicSwap:
          type: boolean
          description: Whether the transaction was executed as an atomic swap.
        swapFeeMultiplier:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositDiscoveredAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        state:
          type: string
          enum:
            - PENDING_CONFIRMATION
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - tokenIn
        - tokenOut
        - minAmountOut
        - minAmountOutUsd
        - usdPriceTokenIn
        - usdPriceTokenOut
        - depositTxHash
        - depositDiscoveredAt
        - expectedDepositConfirmedAt
        - expectedDepositConfirmedAtBlock
        - state
      additionalProperties: false
    DepositAddressBridgePendingConfirmationEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - depositAddressBridge
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        token:
          type: string
          description: >-
            The asset deposited into the Smart Deposit Address on the chainIn.
            Where the deposit address performs a swap, the asset received on the
            chainOut may differ.
        tokenOut:
          type: string
          description: >-
            The asset received on the chainOut where the deposit address
            performs a swap.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        depositAddress:
          type: string
          description: >-
            The Rhino.fi Smart Deposit Address that the tokens were deposited
            to.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        paymentIntentId:
          $ref: '#/components/schemas/PaymentIntentId'
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositDiscoveredAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        state:
          type: string
          enum:
            - PENDING_CONFIRMATION
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - depositTxHash
        - depositDiscoveredAt
        - expectedDepositConfirmedAt
        - expectedDepositConfirmedAtBlock
        - state
      additionalProperties: false
    BridgeCancelledEncoded:
      type: object
      properties:
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        chain:
          anyOf:
            - type: string
              description: >-
                The name of the chain on which the single bridge transaction
                took place.
            - type: 'null'
        token:
          type: string
          description: The token symbol that was bridged (e.g. "ETH", "USDC").
        depositAddress:
          type: string
          description: >-
            The Rhino.fi smart contract address on the chainIn that received the
            tokens to initiate the bridge.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        _tag:
          type: string
          enum:
            - bridge
        cancelledAt:
          type: string
        state:
          type: string
          enum:
            - CANCELLED
      required:
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - cancelledAt
        - state
      additionalProperties: false
    BridgeSwapCancelledEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - bridgeSwap
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        tokenIn:
          type: string
          description: The asset that was sent on the chainIn.
        tokenOut:
          type: string
          description: The asset that was received on the chainOut.
        minAmountOut:
          type: string
          description: >-
            The minimum native value of tokenOut guaranteed to be received on
            the chainOut, after slippage.
        minAmountOutUsd:
          type: number
          description: The USD value of the minAmountOut.
        usdPriceTokenIn:
          type: number
          description: The USD price of the tokenIn at the time the quote was created.
        usdPriceTokenOut:
          type: number
          description: The USD price of the tokenOut at the time the quote was created.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        mode:
          type: string
          enum:
            - pay
            - receive
          description: >-
            Whether the amount represented the sending ("pay") or receiving
            ("receive") amount when the quote was generated.
        isAtomicSwap:
          type: boolean
          description: Whether the transaction was executed as an atomic swap.
        swapFeeMultiplier:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        cancelledAt:
          type: string
        state:
          type: string
          enum:
            - CANCELLED
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - tokenIn
        - tokenOut
        - minAmountOut
        - minAmountOutUsd
        - usdPriceTokenIn
        - usdPriceTokenOut
        - cancelledAt
        - state
      additionalProperties: false
    BridgeFailedEncoded:
      type: object
      properties:
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        chain:
          anyOf:
            - type: string
              description: >-
                The name of the chain on which the single bridge transaction
                took place.
            - type: 'null'
        token:
          type: string
          description: The token symbol that was bridged (e.g. "ETH", "USDC").
        depositAddress:
          type: string
          description: >-
            The Rhino.fi smart contract address on the chainIn that received the
            tokens to initiate the bridge.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        _tag:
          type: string
          enum:
            - bridge
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        failedAt:
          type: string
        state:
          type: string
          enum:
            - FAILED
      required:
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - depositTxHash
        - depositCommittedAt
        - failedAt
        - state
      additionalProperties: false
    BridgeSwapFailedEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - bridgeSwap
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        tokenIn:
          type: string
          description: The asset that was sent on the chainIn.
        tokenOut:
          type: string
          description: The asset that was received on the chainOut.
        minAmountOut:
          type: string
          description: >-
            The minimum native value of tokenOut guaranteed to be received on
            the chainOut, after slippage.
        minAmountOutUsd:
          type: number
          description: The USD value of the minAmountOut.
        usdPriceTokenIn:
          type: number
          description: The USD price of the tokenIn at the time the quote was created.
        usdPriceTokenOut:
          type: number
          description: The USD price of the tokenOut at the time the quote was created.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        mode:
          type: string
          enum:
            - pay
            - receive
          description: >-
            Whether the amount represented the sending ("pay") or receiving
            ("receive") amount when the quote was generated.
        isAtomicSwap:
          type: boolean
          description: Whether the transaction was executed as an atomic swap.
        swapFeeMultiplier:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        state:
          type: string
          enum:
            - SWAP_FAILED
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - tokenIn
        - tokenOut
        - minAmountOut
        - minAmountOutUsd
        - usdPriceTokenIn
        - usdPriceTokenOut
        - state
      additionalProperties: false
    DepositAddressBridgeFailedEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - depositAddressBridge
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        token:
          type: string
          description: >-
            The asset deposited into the Smart Deposit Address on the chainIn.
            Where the deposit address performs a swap, the asset received on the
            chainOut may differ.
        tokenOut:
          type: string
          description: >-
            The asset received on the chainOut where the deposit address
            performs a swap.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        depositAddress:
          type: string
          description: >-
            The Rhino.fi Smart Deposit Address that the tokens were deposited
            to.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        paymentIntentId:
          $ref: '#/components/schemas/PaymentIntentId'
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        failedAt:
          type: string
        state:
          type: string
          enum:
            - FAILED
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - depositTxHash
        - depositCommittedAt
        - failedAt
        - state
      additionalProperties: false
    BridgeDepositAcceptedEncoded:
      type: object
      properties:
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        chain:
          anyOf:
            - type: string
              description: >-
                The name of the chain on which the single bridge transaction
                took place.
            - type: 'null'
        token:
          type: string
          description: The token symbol that was bridged (e.g. "ETH", "USDC").
        depositAddress:
          type: string
          description: >-
            The Rhino.fi smart contract address on the chainIn that received the
            tokens to initiate the bridge.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        _tag:
          type: string
          enum:
            - bridge
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        state:
          type: string
          enum:
            - DEPOSIT_ACCEPTED
      required:
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - depositTxHash
        - depositCommittedAt
        - state
      additionalProperties: false
    BridgeSwapDepositAcceptedEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - bridgeSwap
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        tokenIn:
          type: string
          description: The asset that was sent on the chainIn.
        tokenOut:
          type: string
          description: The asset that was received on the chainOut.
        minAmountOut:
          type: string
          description: >-
            The minimum native value of tokenOut guaranteed to be received on
            the chainOut, after slippage.
        minAmountOutUsd:
          type: number
          description: The USD value of the minAmountOut.
        usdPriceTokenIn:
          type: number
          description: The USD price of the tokenIn at the time the quote was created.
        usdPriceTokenOut:
          type: number
          description: The USD price of the tokenOut at the time the quote was created.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        mode:
          type: string
          enum:
            - pay
            - receive
          description: >-
            Whether the amount represented the sending ("pay") or receiving
            ("receive") amount when the quote was generated.
        isAtomicSwap:
          type: boolean
          description: Whether the transaction was executed as an atomic swap.
        swapFeeMultiplier:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        state:
          type: string
          enum:
            - DEPOSIT_ACCEPTED
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - tokenIn
        - tokenOut
        - minAmountOut
        - minAmountOutUsd
        - usdPriceTokenIn
        - usdPriceTokenOut
        - depositTxHash
        - depositCommittedAt
        - state
      additionalProperties: false
    DepositAddressBridgeDepositAcceptedEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - depositAddressBridge
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        token:
          type: string
          description: >-
            The asset deposited into the Smart Deposit Address on the chainIn.
            Where the deposit address performs a swap, the asset received on the
            chainOut may differ.
        tokenOut:
          type: string
          description: >-
            The asset received on the chainOut where the deposit address
            performs a swap.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        depositAddress:
          type: string
          description: >-
            The Rhino.fi Smart Deposit Address that the tokens were deposited
            to.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        paymentIntentId:
          $ref: '#/components/schemas/PaymentIntentId'
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        state:
          type: string
          enum:
            - DEPOSIT_ACCEPTED
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - depositTxHash
        - depositCommittedAt
        - state
      additionalProperties: false
    BridgeAcceptedEncoded:
      type: object
      properties:
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        chain:
          anyOf:
            - type: string
              description: >-
                The name of the chain on which the single bridge transaction
                took place.
            - type: 'null'
        token:
          type: string
          description: The token symbol that was bridged (e.g. "ETH", "USDC").
        depositAddress:
          type: string
          description: >-
            The Rhino.fi smart contract address on the chainIn that received the
            tokens to initiate the bridge.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        _tag:
          type: string
          enum:
            - bridge
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        state:
          type: string
          enum:
            - ACCEPTED
      required:
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - depositTxHash
        - depositCommittedAt
        - state
      additionalProperties: false
    BridgeSwapAcceptedEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - bridgeSwap
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        tokenIn:
          type: string
          description: The asset that was sent on the chainIn.
        tokenOut:
          type: string
          description: The asset that was received on the chainOut.
        minAmountOut:
          type: string
          description: >-
            The minimum native value of tokenOut guaranteed to be received on
            the chainOut, after slippage.
        minAmountOutUsd:
          type: number
          description: The USD value of the minAmountOut.
        usdPriceTokenIn:
          type: number
          description: The USD price of the tokenIn at the time the quote was created.
        usdPriceTokenOut:
          type: number
          description: The USD price of the tokenOut at the time the quote was created.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        mode:
          type: string
          enum:
            - pay
            - receive
          description: >-
            Whether the amount represented the sending ("pay") or receiving
            ("receive") amount when the quote was generated.
        isAtomicSwap:
          type: boolean
          description: Whether the transaction was executed as an atomic swap.
        swapFeeMultiplier:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        state:
          type: string
          enum:
            - ACCEPTED
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - tokenIn
        - tokenOut
        - minAmountOut
        - minAmountOutUsd
        - usdPriceTokenIn
        - usdPriceTokenOut
        - depositTxHash
        - depositCommittedAt
        - state
      additionalProperties: false
    DepositAddressBridgeAcceptedEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - depositAddressBridge
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        token:
          type: string
          description: >-
            The asset deposited into the Smart Deposit Address on the chainIn.
            Where the deposit address performs a swap, the asset received on the
            chainOut may differ.
        tokenOut:
          type: string
          description: >-
            The asset received on the chainOut where the deposit address
            performs a swap.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        depositAddress:
          type: string
          description: >-
            The Rhino.fi Smart Deposit Address that the tokens were deposited
            to.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        paymentIntentId:
          $ref: '#/components/schemas/PaymentIntentId'
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        state:
          type: string
          enum:
            - ACCEPTED
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - depositTxHash
        - depositCommittedAt
        - state
      additionalProperties: false
    DepositAddressBridgeExecutedEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - depositAddressBridge
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        token:
          type: string
          description: >-
            The asset deposited into the Smart Deposit Address on the chainIn.
            Where the deposit address performs a swap, the asset received on the
            chainOut may differ.
        tokenOut:
          type: string
          description: >-
            The asset received on the chainOut where the deposit address
            performs a swap.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        depositAddress:
          type: string
          description: >-
            The Rhino.fi Smart Deposit Address that the tokens were deposited
            to.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        paymentIntentId:
          $ref: '#/components/schemas/PaymentIntentId'
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        withdrawTxHash:
          type: string
          description: >-
            The transaction hash of the withdrawal of the tokens to the
            recipient on the chainOut.
        withdrawCommittedAt:
          type: string
        state:
          type: string
          enum:
            - EXECUTED
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - depositAddress
        - depositTxHash
        - depositCommittedAt
        - withdrawTxHash
        - withdrawCommittedAt
        - state
      additionalProperties: false
    BridgeSwapRefundedEncoded:
      type: object
      properties:
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        reason:
          type: string
          description: The reason that the transaction was rejected.
        additionalData:
          anyOf:
            - anyOf:
                - type: object
                  additionalProperties:
                    anyOf:
                      - type: string
                      - anyOf:
                          - type: number
                          - type: string
                            enum:
                              - Infinity
                              - '-Infinity'
                              - NaN
                - type: 'null'
            - type: 'null'
        _tag:
          type: string
          enum:
            - bridgeSwap
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        tokenIn:
          type: string
          description: The asset that was sent on the chainIn.
        tokenOut:
          type: string
          description: The asset that was received on the chainOut.
        minAmountOut:
          type: string
          description: >-
            The minimum native value of tokenOut guaranteed to be received on
            the chainOut, after slippage.
        minAmountOutUsd:
          type: number
          description: The USD value of the minAmountOut.
        usdPriceTokenIn:
          type: number
          description: The USD price of the tokenIn at the time the quote was created.
        usdPriceTokenOut:
          type: number
          description: The USD price of the tokenOut at the time the quote was created.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        mode:
          type: string
          enum:
            - pay
            - receive
          description: >-
            Whether the amount represented the sending ("pay") or receiving
            ("receive") amount when the quote was generated.
        isAtomicSwap:
          type: boolean
          description: Whether the transaction was executed as an atomic swap.
        swapFeeMultiplier:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        refundTxHash:
          type: string
          minLength: 1
          description: The transaction hash of the refund that was made.
        refundTxTimestamp:
          type: string
        refundedToken:
          type: string
          minLength: 1
          description: The asset that was refunded.
        refundedAmount:
          type: string
          description: The native value of the tokens that were refunded.
        refundedChain:
          type: string
          minLength: 1
          description: The blockchain that the refund was made on.
        state:
          type: string
          enum:
            - SWAP_FAILED_REFUNDED
      required:
        - depositTxHash
        - depositCommittedAt
        - reason
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - tokenIn
        - tokenOut
        - minAmountOut
        - minAmountOutUsd
        - usdPriceTokenIn
        - usdPriceTokenOut
        - refundTxHash
        - refundTxTimestamp
        - refundedToken
        - refundedAmount
        - refundedChain
        - state
      additionalProperties: false
    DepositReceivedAfterGracePeriodEncoded:
      type: object
      properties:
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        reason:
          type: string
          description: The reason that the transaction was rejected.
        additionalData:
          anyOf:
            - anyOf:
                - type: object
                  additionalProperties:
                    anyOf:
                      - type: string
                      - anyOf:
                          - type: number
                          - type: string
                            enum:
                              - Infinity
                              - '-Infinity'
                              - NaN
                - type: 'null'
            - type: 'null'
        _tag:
          type: string
          enum:
            - bridgeSwap
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        tokenIn:
          type: string
          description: The asset that was sent on the chainIn.
        tokenOut:
          type: string
          description: The asset that was received on the chainOut.
        minAmountOut:
          type: string
          description: >-
            The minimum native value of tokenOut guaranteed to be received on
            the chainOut, after slippage.
        minAmountOutUsd:
          type: number
          description: The USD value of the minAmountOut.
        usdPriceTokenIn:
          type: number
          description: The USD price of the tokenIn at the time the quote was created.
        usdPriceTokenOut:
          type: number
          description: The USD price of the tokenOut at the time the quote was created.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        mode:
          type: string
          enum:
            - pay
            - receive
          description: >-
            Whether the amount represented the sending ("pay") or receiving
            ("receive") amount when the quote was generated.
        isAtomicSwap:
          type: boolean
          description: Whether the transaction was executed as an atomic swap.
        swapFeeMultiplier:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        state:
          type: string
          enum:
            - DEPOSIT_RECEIVED_AFTER_GRACE_PERIOD
      required:
        - depositTxHash
        - depositCommittedAt
        - reason
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - tokenIn
        - tokenOut
        - minAmountOut
        - minAmountOutUsd
        - usdPriceTokenIn
        - usdPriceTokenOut
        - state
      additionalProperties: false
    DepositReceivedAfterGracePeriodRefundedEncoded:
      type: object
      properties:
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        reason:
          type: string
          description: The reason that the transaction was rejected.
        additionalData:
          anyOf:
            - anyOf:
                - type: object
                  additionalProperties:
                    anyOf:
                      - type: string
                      - anyOf:
                          - type: number
                          - type: string
                            enum:
                              - Infinity
                              - '-Infinity'
                              - NaN
                - type: 'null'
            - type: 'null'
        _tag:
          type: string
          enum:
            - bridgeSwap
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        tokenIn:
          type: string
          description: The asset that was sent on the chainIn.
        tokenOut:
          type: string
          description: The asset that was received on the chainOut.
        minAmountOut:
          type: string
          description: >-
            The minimum native value of tokenOut guaranteed to be received on
            the chainOut, after slippage.
        minAmountOutUsd:
          type: number
          description: The USD value of the minAmountOut.
        usdPriceTokenIn:
          type: number
          description: The USD price of the tokenIn at the time the quote was created.
        usdPriceTokenOut:
          type: number
          description: The USD price of the tokenOut at the time the quote was created.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        mode:
          type: string
          enum:
            - pay
            - receive
          description: >-
            Whether the amount represented the sending ("pay") or receiving
            ("receive") amount when the quote was generated.
        isAtomicSwap:
          type: boolean
          description: Whether the transaction was executed as an atomic swap.
        swapFeeMultiplier:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        refundTxHash:
          type: string
          minLength: 1
          description: The transaction hash of the refund that was made.
        refundTxTimestamp:
          type: string
        refundedToken:
          type: string
          minLength: 1
          description: The asset that was refunded.
        refundedAmount:
          type: string
          description: The native value of the tokens that were refunded.
        refundedChain:
          type: string
          minLength: 1
          description: The blockchain that the refund was made on.
        state:
          type: string
          enum:
            - DEPOSIT_RECEIVED_AFTER_GRACE_PERIOD_REFUNDED
      required:
        - depositTxHash
        - depositCommittedAt
        - reason
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - tokenIn
        - tokenOut
        - minAmountOut
        - minAmountOutUsd
        - usdPriceTokenIn
        - usdPriceTokenOut
        - refundTxHash
        - refundTxTimestamp
        - refundedToken
        - refundedAmount
        - refundedChain
        - state
      additionalProperties: false
    BridgeExecutedEncoded:
      type: object
      properties:
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        chain:
          anyOf:
            - type: string
              description: >-
                The name of the chain on which the single bridge transaction
                took place.
            - type: 'null'
        token:
          type: string
          description: The token symbol that was bridged (e.g. "ETH", "USDC").
        depositAddress:
          type: string
          description: >-
            The Rhino.fi smart contract address on the chainIn that received the
            tokens to initiate the bridge.
        usdPrice:
          type: number
          description: The USD price of the token at the time the quote was created.
        _tag:
          type: string
          enum:
            - bridge
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        withdrawTxHash:
          type: string
          description: >-
            The transaction hash of the withdrawal of the tokens to the
            recipient on the chainOut.
        withdrawCommittedAt:
          type: string
        state:
          type: string
          enum:
            - EXECUTED
      required:
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - token
        - usdPrice
        - depositTxHash
        - depositCommittedAt
        - withdrawTxHash
        - withdrawCommittedAt
        - state
      additionalProperties: false
    BridgeSwapExecutedEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - bridgeSwap
        _id:
          type: string
        userId:
          type: string
          description: The projectID that the transaction is associated with.
        chainIn:
          type: string
          description: The blockchain that the tokens were bridged from.
        chainOut:
          type: string
          description: The blockchain that the tokens were bridged to.
        amountIn:
          type: string
          description: The native value of the tokens that were sent on the chainIn.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainIn.
        amountOut:
          type: string
          description: The native value of the tokens that were sent on the chainOut.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were sent on the chainOut.
        amountNative:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The amount of native gas token (e.g. ETH, MATIC, BNB) that was
            delivered to the user's wallet on the destination chain as part of
            gas boost functionality, where Rhino.fi delivers a small amount of
            native gas token to the destination address, ensuring that further
            transactions from this address can be made immediately.
        amountNativeUsd:
          anyOf:
            - type: number
            - type: 'null'
          description: The value, in USD, of amountNative.
        fee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        feeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        gasFee:
          type: string
          description: >-
            Any chain specific costs charged to the end customer for the
            chainOut part of the overall transaction. Further information about
            which chains have these associated costs can be found here:
            https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
            If these costs are being paid by the client then this value will be
            zero and the gasFee and gasFeeUsd in the sponsored fee body will be
            non-zero.
        gasFeeUsd:
          type: number
          description: The gasFee value, in USD.
        platformFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        platformFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        percentageFee:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        percentageFeeUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        sourceGasFee:
          type: string
          description: >-
            The cost on the chainIn to sweep the received tokens into Rhino.fi's
            control. For legacy clients this is deducted from the tokens sent on
            the chainOut. For PAYG/Subscription tier clients this is paid by
            Rhino.fi as part of the PAYG/Subscription monthly cost so no direct
            cost is passed onto the end customer, unless configured this way.
            This is only relevant for transactions involving a Rhino.fi Smart
            Deposit Address; for bridging/swapping-only activity the
            sourceGasFee will be paid directly by the customer within their
            depositing transaction.
        sourceGasFeeUsd:
          type: number
          description: The sourceGasFee value, in USD.
        sponsoredFees:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            feeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            gasFee:
              type: string
              description: >-
                Any chain specific costs charged to the client for the chainOut
                part of the overall transaction. Further information about which
                chains have these associated costs can be found here:
                https://learn.rhino.fi/articles/7749894324-tron-and-solana-onchain-gas-costs.
                If these costs are being passed on to the end user then this
                value will be zero and the gasFee and gasFeeUsd in the main fee
                body will be non-zero.
            gasFeeUsd:
              type: number
              description: The gasFee value, in USD.
            platformFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            platformFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            percentageFee:
              $ref: '#/components/schemas/BigDecimalFromStringEncoded'
            percentageFeeUsd:
              $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
            sourceGasFee:
              type: string
              description: >-
                The cost on the chainIn to sweep the received tokens into
                Rhino.fi's control. For legacy clients this is deducted from the
                tokens sent on the chainOut. For PAYG/Subscription tier clients
                this is paid by Rhino.fi as part of the PAYG/Subscription
                monthly cost so no direct cost is passed onto the client, unless
                configured to be passed onto the end customer. This is only
                relevant for transactions involving a Rhino.fi Smart Deposit
                Address; for bridging/swapping-only activity the sourceGasFee
                will be paid directly by the customer within their depositing
                transaction.
            sourceGasFeeUsd:
              type: number
              description: The sourceGasFee value, in USD.
          required:
            - fee
            - feeUsd
            - gasFee
            - gasFeeUsd
            - platformFee
            - platformFeeUsd
            - percentageFee
            - percentageFeeUsd
            - sourceGasFee
            - sourceGasFeeUsd
          additionalProperties: false
          description: >-
            For both legacy and PAYG/Subscription clients, represents the fees
            that are paid by the client on behalf of the end customer.
        recipient:
          type: string
          description: The address on the chainOut that received the bridged tokens.
        depositor:
          type: string
          description: The address on the chainIn that sent the tokens for bridging.
        createdAt:
          type: string
        commitmentDate:
          type: string
        speed:
          type: string
          enum:
            - fast
            - standard
            - slow
          description: >-
            Provides information about whether the transaction is expected to be
            completed "fast" (typically under 30 seconds), "standard" (typically
            under a minute) or "slow" (can be up to 20 minutes). For more
            information on our bridge processing speeds please read this article
            on the Rhino.fi Knowledge Base:
            https://learn.rhino.fi/articles/8257872655-bridge-speed.
        estimatedDuration:
          anyOf:
            - type: number
            - type: string
              enum:
                - Infinity
                - '-Infinity'
                - NaN
        postBridgeData:
          anyOf:
            - $ref: '#/components/schemas/ExtendedPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapPostBridgeData'
            - $ref: '#/components/schemas/WirexWrapSandboxPostBridgeData'
            - $ref: '#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData'
            - $ref: '#/components/schemas/AaveV3SupplyPostBridgeData'
            - $ref: '#/components/schemas/RocketFoundationDepositPostBridgeData'
            - $ref: '#/components/schemas/MapleDepositPostBridgeData'
            - $ref: '#/components/schemas/EtherfiDepositPostBridgeData'
          description: >-
            Custom Routing Rules as configured by Rhino.fi for a specific
            client, e.g. to move funds after the initial bridge into a yield
            bearing vault. To understand more about how Routing Rules can help
            automate onchain actions and ensure that your funds land in an
            active state, please contact your Rhino.fi Customer Success Manager
            or speak to a member of the Rhino.fi sales team.
        flowCredits:
          type: number
          description: >-
            The number of Flow Credits that this transaction will use from the
            client's agreed Rhino.fi PAYG/Subscription tier.
        tokenIn:
          type: string
          description: The asset that was sent on the chainIn.
        tokenOut:
          type: string
          description: The asset that was received on the chainOut.
        minAmountOut:
          type: string
          description: >-
            The minimum native value of tokenOut guaranteed to be received on
            the chainOut, after slippage.
        minAmountOutUsd:
          type: number
          description: The USD value of the minAmountOut.
        usdPriceTokenIn:
          type: number
          description: The USD price of the tokenIn at the time the quote was created.
        usdPriceTokenOut:
          type: number
          description: The USD price of the tokenOut at the time the quote was created.
        preSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        postSwap:
          $ref: '#/components/schemas/SwapQuoteEncoded'
        mode:
          type: string
          enum:
            - pay
            - receive
          description: >-
            Whether the amount represented the sending ("pay") or receiving
            ("receive") amount when the quote was generated.
        isAtomicSwap:
          type: boolean
          description: Whether the transaction was executed as an atomic swap.
        swapFeeMultiplier:
          $ref: '#/components/schemas/BigDecimalFromStringEncoded'
        depositTxHash:
          type: string
          description: The transaction hash of the deposit made on the chainIn.
        depositCommittedAt:
          type: string
        depositDiscoveredAt:
          type: string
        depositConfirmedAt:
          type: string
        expectedDepositConfirmedAt:
          type: string
        expectedDepositConfirmedAtBlock:
          type: integer
          description: >-
            The block on the chainIn at which the deposit transaction is
            expected to reach the required number of confirmations.
        preSwapTxHash:
          type: string
          description: >-
            The transaction hash of the swap performed on the chainIn before
            bridging.
        preSwapCommittedAt:
          type: string
        isConfirmed:
          type: boolean
          description: >-
            Whether the deposit transaction has reached the required number of
            confirmations on the chainIn.
        withdrawTxHash:
          type: string
          description: >-
            The transaction hash of the withdrawal of the tokens to the
            recipient on the chainOut.
        withdrawCommittedAt:
          type: string
        state:
          type: string
          enum:
            - EXECUTED
      required:
        - _tag
        - _id
        - userId
        - chainIn
        - chainOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - amountNative
        - amountNativeUsd
        - fee
        - feeUsd
        - gasFee
        - gasFeeUsd
        - platformFee
        - platformFeeUsd
        - percentageFee
        - percentageFeeUsd
        - sourceGasFee
        - sourceGasFeeUsd
        - sponsoredFees
        - recipient
        - depositor
        - createdAt
        - commitmentDate
        - tokenIn
        - tokenOut
        - minAmountOut
        - minAmountOutUsd
        - usdPriceTokenIn
        - usdPriceTokenOut
        - depositTxHash
        - depositCommittedAt
        - withdrawTxHash
        - withdrawCommittedAt
        - state
      additionalProperties: false
    InvalidJwtEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - InvalidJwt
        message:
          type: string
      required:
        - _tag
        - message
      additionalProperties: false
    HttpApiDecodeErrorEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - HttpApiDecodeError
        issues:
          type: array
          items:
            type: object
            properties:
              _tag:
                type: string
                enum:
                  - Pointer
                  - Unexpected
                  - Missing
                  - Composite
                  - Refinement
                  - Transformation
                  - Type
                  - Forbidden
              path:
                type: array
                items:
                  anyOf:
                    - type: string
                    - anyOf:
                        - type: number
                        - type: string
                          enum:
                            - Infinity
                            - '-Infinity'
                            - NaN
              message:
                type: string
            required:
              - _tag
              - path
              - message
            additionalProperties: false
        message:
          type: string
      required:
        - _tag
        - issues
        - message
      additionalProperties: false
    UnauthorizedEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - Unauthorized
        message:
          type: string
      required:
        - _tag
        - message
      additionalProperties: false
    InvalidRequestEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - InvalidRequest
        message:
          type: string
      required:
        - _tag
        - message
      additionalProperties: false
    BigDecimalFromStringEncoded:
      type: string
    BigDecimalFromNumberEncoded:
      type: number
    ExtendedPostBridgeData:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - extended
        vaultId:
          type: integer
          minimum: 0
          description: A variable relating to the specific post bridge action.
      required:
        - _tag
        - vaultId
      additionalProperties: false
    StarkwareBtcfiCampaignPostBridgeData:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - starkwarebtcfi
      required:
        - _tag
      additionalProperties: false
    WirexWrapPostBridgeData:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - wirexwrap
      required:
        - _tag
      additionalProperties: false
    WirexWrapSandboxPostBridgeData:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - wirexwrapsandbox
      required:
        - _tag
      additionalProperties: false
    StarkwareBtcfiCampaignV2PostBridgeData:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - starkwarebtcfiv2
        spans:
          type: array
          items:
            $ref: '#/components/schemas/StarknetFeltEncoded'
          maxItems: 70
          description: A variable relating to the specific post bridge action.
      required:
        - _tag
        - spans
      additionalProperties: false
    AaveV3SupplyPostBridgeData:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - aavev3supply
      required:
        - _tag
      additionalProperties: false
    RocketFoundationDepositPostBridgeData:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - rocketfoundationdeposit
      required:
        - _tag
      additionalProperties: false
    MapleDepositPostBridgeData:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - mapledeposit
      required:
        - _tag
      additionalProperties: false
    EtherfiDepositPostBridgeData:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - etherfideposit
      required:
        - _tag
      additionalProperties: false
    SwapQuoteEncoded:
      type: object
      properties:
        tokenIn:
          type: string
          description: The asset that was swapped from.
        tokenOut:
          type: string
          description: The asset that was swapped to.
        amountIn:
          type: string
          description: The native value of the tokens that were swapped from.
        amountInUsd:
          type: number
          description: The USD value of the tokens that were swapped from.
        amountOut:
          type: string
          description: The native value of the tokens that were received from the swap.
        amountOutUsd:
          type: number
          description: The USD value of the tokens that were received from the swap.
        minAmountOut:
          type: string
          description: >-
            The minimum native value of tokens guaranteed to be received from
            the swap, after slippage.
        minAmountOutUsd:
          type: number
          description: The USD value of the minAmountOut.
        aggregator:
          anyOf:
            - type: string
              enum:
                - KYBERSWAP
              title: KYBERSWAP
            - type: string
              enum:
                - RHINO
              title: RHINO
            - type: string
              enum:
                - ONEINCH
              title: ONEINCH
            - type: string
              enum:
                - BEBOP
              title: BEBOP
          description: The swap aggregator used to execute the swap.
      required:
        - tokenIn
        - tokenOut
        - amountIn
        - amountInUsd
        - amountOut
        - amountOutUsd
        - minAmountOut
        - minAmountOutUsd
        - aggregator
      additionalProperties: false
    PaymentIntentId:
      type: string
      minLength: 1
      description: Identifier of the payment intent a payment deposit address settles.
    StarknetFeltEncoded:
      type: string
  securitySchemes:
    bearer:
      description: JWT token for authentication
      type: http
      scheme: Bearer
    legacyApiKey:
      type: apiKey
      name: authorization
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.