> ## 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 a list of previous activity for a Smart Deposit Address

> This endpoint provides the history of activity (both successful and unsuccessful) for a given Smart Deposit Address within a given time window. By default the previous 7 days of activity are returned, with a maximum window of 31 days (configurable via the `from` and `to` query params).



## OpenAPI

````yaml https://api.rhino.fi/sda/swagger.json get /deposit-addresses/{depositAddress}/{depositChain}/history
openapi: 3.1.0
info:
  title: SDA API
  version: 0.0.1
  description: Functionality for interacting with Rhino SDA service
servers:
  - url: https://api.rhino.fi/sda
security: []
tags:
  - name: depositAddresses
paths:
  /deposit-addresses/{depositAddress}/{depositChain}/history:
    get:
      tags:
        - depositAddresses
      summary: Obtain a list of previous activity for a Smart Deposit Address
      description: >-
        This endpoint provides the history of activity (both successful and
        unsuccessful) for a given Smart Deposit Address within a given time
        window. By default the previous 7 days of activity are returned, with a
        maximum window of 31 days (configurable via the `from` and `to` query
        params).
      operationId: depositAddresses.historyDepositAddress
      parameters:
        - name: depositAddress
          in: path
          schema:
            anyOf:
              - $ref: '#/components/schemas/EthAddressSchemaEncoded'
              - $ref: '#/components/schemas/TronAddressBasic'
              - $ref: '#/components/schemas/SolanaAddress'
              - $ref: '#/components/schemas/StellarMuxedAddress'
              - $ref: '#/components/schemas/BitcoinAddressSchema'
            description: >-
              The Rhino.fi Smart Deposit Address that the deposit has been sent
              to, e.g. "0x123...ABC".
          required: true
        - name: depositChain
          in: path
          schema:
            type: string
            description: The blockchain where the deposit was sent to, e.g. "ETHEREUM".
          required: true
        - name: from
          in: query
          schema:
            $ref: '#/components/schemas/fromEncoded'
          required: false
        - name: to
          in: query
          schema:
            $ref: '#/components/schemas/toEncoded'
          required: false
      responses:
        '200':
          description: DepositAddressHistoryResponse
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DepositAddressHistoryResponseEncoded'
        '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: >-
            DepositAddressNotFound | DepositAddressChainsNotSupported |
            InvalidDateRange
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/DepositAddressNotFoundEncoded'
                  - $ref: >-
                      #/components/schemas/DepositAddressChainsNotSupportedEncoded
                  - $ref: '#/components/schemas/InvalidDateRangeEncoded'
        '503':
          description: EndpointDisabledError
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointDisabledErrorEncoded'
      security:
        - bearer: []
        - legacyApiKey: []
components:
  schemas:
    EthAddressSchemaEncoded:
      type: string
    TronAddressBasic:
      type: string
      maxLength: 60
      description: Tron basic address format
    SolanaAddress:
      anyOf:
        - type: string
          minLength: 22
          maxLength: 44
        - type: string
          minLength: 16
          maxLength: 42
    StellarMuxedAddress:
      type: string
    BitcoinAddressSchema:
      anyOf:
        - $ref: '#/components/schemas/BitcoinBech32AddressSchemaEncoded'
        - $ref: '#/components/schemas/BitcoinBase58AddressSchemaEncoded'
      description: Bitcoin address (bech32 / bech32m or base58check)
    fromEncoded:
      type: string
    toEncoded:
      type: string
    DepositAddressHistoryResponseEncoded:
      type: object
      properties:
        depositAddress:
          type: string
          minLength: 1
          description: >-
            The Rhino.fi Smart Deposit Address that the deposit has been sent
            to.
        depositChain:
          type: string
          minLength: 1
          description: The blockchain where the deposit was sent to, e.g. "ETHEREUM".
        bridges:
          type: array
          items:
            anyOf:
              - $ref: '#/components/schemas/DepositAddressBridgeFailedApiEncoded'
              - $ref: '#/components/schemas/DepositAddressBridgeRejectedApiEncoded'
              - $ref: '#/components/schemas/DepositAddressBridgeAcceptedApiEncoded'
              - $ref: '#/components/schemas/DepositAddressDepositDetectedApiEncoded'
              - $ref: '#/components/schemas/DepositAddressDepositConfirmingApiEncoded'
          description: >-
            An array of bridge transactions associated with this deposit
            address, including accepted, failed, and rejected transactions.
      required:
        - depositAddress
        - depositChain
        - bridges
      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
    DepositAddressNotFoundEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - DepositAddressNotFound
        message:
          type: string
        addresses:
          type: array
          items:
            type: string
            minLength: 1
      required:
        - _tag
        - message
        - addresses
      additionalProperties: false
    DepositAddressChainsNotSupportedEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - DepositAddressChainsNotSupported
        chains:
          type: array
          items:
            type: string
            minLength: 1
      required:
        - _tag
        - chains
      additionalProperties: false
    InvalidDateRangeEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - InvalidDateRange
        message:
          type: string
      required:
        - _tag
        - message
      additionalProperties: false
    EndpointDisabledErrorEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - EndpointDisabledError
        message:
          type: string
      required:
        - _tag
        - message
      additionalProperties: false
    BitcoinBech32AddressSchemaEncoded:
      type: string
    BitcoinBase58AddressSchemaEncoded:
      type: string
    DepositAddressBridgeFailedApiEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - failed
        _id:
          type: string
          minLength: 1
          description: The unique identifier of the bridge transaction.
        tokenSymbol:
          type: string
          minLength: 1
          description: The identifier of the token on the given chain.
        tokenAddress:
          type: string
          minLength: 1
          description: The smart contract of the token.
        amount:
          $ref: '#/components/schemas/AmountWithDecimalsEncoded'
        amountUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        amountWei:
          type: string
        sender:
          type: string
          minLength: 1
          description: >-
            The address on the depositChain that sent the tokens for bridging /
            bridging and swapping.
        txHash:
          type: string
          minLength: 1
          description: >-
            The uniquely identifiable transaction hash for the deposit
            transaction into the depositAddress.
        paymentIntentId:
          $ref: '#/components/schemas/PaymentIntentId'
        originalErrorTag:
          type: string
          minLength: 1
          description: >-
            An identifier for the underlying error that caused the transaction
            to fail.
        createdAt:
          type: string
      required:
        - _tag
        - _id
        - tokenSymbol
        - tokenAddress
        - amount
        - amountUsd
        - amountWei
        - sender
        - txHash
        - createdAt
      additionalProperties: false
    DepositAddressBridgeRejectedApiEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - rejected
        _id:
          type: string
          minLength: 1
          description: The unique identifier of the bridge transaction.
        tokenSymbol:
          type: string
          minLength: 1
          description: The identifier of the token on the given chain.
        tokenAddress:
          type: string
          minLength: 1
          description: The smart contract of the token.
        amount:
          $ref: '#/components/schemas/AmountWithDecimalsEncoded'
        amountUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        amountWei:
          type: string
        sender:
          type: string
          description: >-
            The address on the depositChain that sent the tokens for bridging /
            bridging and swapping.
        txHash:
          type: string
          description: >-
            The uniquely identifiable transaction hash for the deposit
            transaction into the depositAddress.
        paymentIntentId:
          $ref: '#/components/schemas/PaymentIntentId'
        originalErrorTag:
          type: string
          minLength: 1
          description: >-
            An identifier for the underlying error that caused the transaction
            to be rejected.
        originalErrorJson:
          type: string
        reason:
          type: string
          enum:
            - OVER_MAX
            - UNDER_MIN
            - OPERATION_UNAVAILABLE
            - TERMINAL_PROCESSING_ISSUE
            - NO_ROUTE_FOUND
            - UNSUPPORTED_TOKEN
            - SDA_PAUSED
            - SETTLEMENT_REJECTED
            - PAYMENT_EXPIRED
            - PAYMENT_TOKEN_NOT_ACCEPTED
            - PAYMENT_AMOUNT_MISMATCH
            - PAYMENT_ALREADY_RECEIVED
          description: >-
            Further information about why a transaction was rejected. OVER_MAX:
            the amount deposited was above the maximum value accepted for that
            token for the Smart Deposit Address (this value can be found via the
            GET
            /sda/deposit-addresses/{depositChain}/{destinationChain}/supported-tokens
            endpoint). UNDER_MIN: the amount deposited was below the minimum
            value accepted for that token for the Smart Deposit Address (same
            endpoint to find the value). TERMINAL_PROCESSING_ISSUE: an issue
            within the Rhino.fi system meant the required swapping and/or
            bridging activity was not completed; please reach out to your
            Rhino.fi customer success manager for further information.
            NO_ROUTE_FOUND: no compatible bridge and/or swap route was able to
            be found and executed; please reach out to your Rhino.fi customer
            success manager for further information. UNSUPPORTED_TOKEN: the
            token that was deposited is not supported for this Smart Deposit
            Address. SDA_PAUSED: the Smart Deposit Address was paused and not
            processing deposits at the time the deposit was received.
            OPERATION_UNAVAILABLE: the deposit could not be processed because
            the operation was unavailable at the time; please reach out to your
            Rhino.fi customer success manager for further information.
            PAYMENT_EXPIRED: the payment Smart Deposit Address expired before
            the deposit was received. PAYMENT_TOKEN_NOT_ACCEPTED: the deposited
            token is not one of the tokens the payment Smart Deposit Address was
            created for. PAYMENT_AMOUNT_MISMATCH: the deposited amount did not
            exactly match any of the payment Smart Deposit Address's accepted
            amounts for the deposited token. PAYMENT_ALREADY_RECEIVED: the
            payment Smart Deposit Address had already received a deposit; each
            pSDA settles exactly one payment.
        txUid:
          type: string
          minLength: 1
          description: >-
            A unique identifier for the deposit transaction within the Rhino.fi
            system.
        createdAt:
          type: string
        blockNumber:
          type: integer
          minimum: 0
          description: >-
            The block on the depositChain that the deposit transaction was
            included in.
      required:
        - _tag
        - _id
        - tokenSymbol
        - tokenAddress
        - amount
        - amountUsd
        - amountWei
        - sender
        - txHash
        - reason
        - txUid
        - createdAt
      additionalProperties: false
    DepositAddressBridgeAcceptedApiEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - accepted
        _id:
          type: string
          minLength: 1
          description: The unique identifier of the bridge transaction.
        tokenSymbol:
          type: string
          minLength: 1
          description: The identifier of the token on the given chain.
        tokenAddress:
          type: string
          minLength: 1
          description: The smart contract of the token.
        amount:
          $ref: '#/components/schemas/AmountWithDecimalsEncoded'
        amountUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        amountWei:
          type: string
        sender:
          type: string
          minLength: 1
          description: >-
            The address on the depositChain that sent the tokens for bridging /
            bridging and swapping.
        txHash:
          type: string
          minLength: 1
          description: >-
            The uniquely identifiable transaction hash for the deposit
            transaction into the depositAddress.
        paymentIntentId:
          $ref: '#/components/schemas/PaymentIntentId'
        history:
          anyOf:
            - $ref: '#/components/schemas/DepositAddressBridgePendingEncoded'
            - $ref: >-
                #/components/schemas/DepositAddressBridgePendingConfirmationEncoded
            - $ref: '#/components/schemas/DepositAddressBridgeFailedEncoded'
            - $ref: '#/components/schemas/DepositAddressBridgeDepositAcceptedEncoded'
            - $ref: '#/components/schemas/DepositAddressBridgeAcceptedEncoded'
            - $ref: '#/components/schemas/DepositAddressBridgeExecutedEncoded'
        createdAt:
          type: string
      required:
        - _tag
        - _id
        - tokenSymbol
        - tokenAddress
        - amount
        - amountUsd
        - amountWei
        - sender
        - txHash
        - history
        - createdAt
      additionalProperties: false
    DepositAddressDepositDetectedApiEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - detected
        _id:
          type: string
          minLength: 1
          description: The custody provider's order id for the deposit that it detected.
        tokenSymbol:
          type: string
          minLength: 1
          description: The identifier of the token on the given chain.
        tokenAddress:
          type: string
          minLength: 1
          description: The smart contract of the token.
        amount:
          $ref: '#/components/schemas/AmountWithDecimalsEncoded'
        amountUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        amountWei:
          type: string
        sender:
          type: string
          minLength: 1
          description: >-
            The address on the depositChain that sent the tokens for bridging /
            bridging and swapping.
        txHash:
          type: string
          minLength: 1
          description: >-
            The uniquely identifiable transaction hash for the deposit
            transaction into the depositAddress.
        paymentIntentId:
          $ref: '#/components/schemas/PaymentIntentId'
        createdAt:
          type: string
      required:
        - _tag
        - _id
        - tokenSymbol
        - tokenAddress
        - amount
        - amountUsd
        - amountWei
        - sender
        - txHash
        - createdAt
      additionalProperties: false
    DepositAddressDepositConfirmingApiEncoded:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - confirming
        _id:
          type: string
          minLength: 1
          description: The custody provider's order id for the deposit that it detected.
        tokenSymbol:
          type: string
          minLength: 1
          description: The identifier of the token on the given chain.
        tokenAddress:
          type: string
          minLength: 1
          description: The smart contract of the token.
        amount:
          $ref: '#/components/schemas/AmountWithDecimalsEncoded'
        amountUsd:
          $ref: '#/components/schemas/BigDecimalFromNumberEncoded'
        amountWei:
          type: string
        sender:
          type: string
          minLength: 1
          description: >-
            The address on the depositChain that sent the tokens for bridging /
            bridging and swapping.
        txHash:
          type: string
          minLength: 1
          description: >-
            The uniquely identifiable transaction hash for the deposit
            transaction into the depositAddress.
        paymentIntentId:
          $ref: '#/components/schemas/PaymentIntentId'
        createdAt:
          type: string
      required:
        - _tag
        - _id
        - tokenSymbol
        - tokenAddress
        - amount
        - amountUsd
        - amountWei
        - sender
        - txHash
        - createdAt
      additionalProperties: false
    AmountWithDecimalsEncoded:
      type: string
    BigDecimalFromNumberEncoded:
      type: number
    PaymentIntentId:
      type: string
      minLength: 1
      description: Identifier of the payment intent a payment deposit address settles.
    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
    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
    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
    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
    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
    BigDecimalFromStringEncoded:
      type: string
    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
    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.