{"openapi":"3.1.0","info":{"title":"Bridge API","version":"0.0.1","description":"Functionality for interacting with Rhino bridge service"},"paths":{"/quote/commit/{quoteId}":{"post":{"tags":["quote"],"operationId":"quote.commitQuote","parameters":[{"name":"quoteId","in":"path","schema":{"type":"string","description":"The unique identifier of the quote as generated in `POST /quote/bridge-swap/user`, e.g. \"6717e3a9c1a2b4d5e6f78901\"."},"required":true,"description":"The unique identifier of the quote as generated in `POST /quote/bridge-swap/user`, e.g. \"6717e3a9c1a2b4d5e6f78901\"."}],"security":[{"bearer":[]},{"legacyApiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["quoteId"],"properties":{"quoteId":{"type":"string","description":"The unique identifier of this quote. Submit this in the `POST /quote/commit/{quoteId}` endpoint to commit the quote."}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidJwt"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"QuoteNotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteNotFound"}}}},"422":{"description":"InvalidRequest","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InvalidRequest"},{"$ref":"#/components/schemas/DestinationValidationFailed"}]}}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"503":{"description":"DestinationValidationUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationValidationUnavailable"}}}}},"description":"This endpoint allows you to commit a generated quote from the `POST /quote/bridge-swap/user` endpoint so that it is picked up and tracked by the Rhino.fi system.","summary":"Commit an already generated quote"}},"/quote/bridge-swap/public":{"get":{"tags":["quote"],"operationId":"quote.bridgeSwapPublicQuote","parameters":[{"name":"chainIn","in":"query","schema":{"type":"string","description":"The blockchain that the tokens will be bridged from, e.g. \"ETHEREUM\".","title":"nonEmptyString","minLength":1},"required":true,"description":"The blockchain that the tokens will be bridged from, e.g. \"ETHEREUM\"."},{"name":"chainOut","in":"query","schema":{"type":"string","description":"The blockchain that the tokens will be bridged to, e.g. \"AVALANCHE\".","title":"nonEmptyString","minLength":1},"required":true,"description":"The blockchain that the tokens will be bridged to, e.g. \"AVALANCHE\"."},{"name":"amount","in":"query","schema":{"type":"string","description":"When the mode is \"pay\" this is the amount of the token to be sent; when the mode is \"receive\" this is the amount of the token that will be received. E.g. to send 456.34 USDT the amount should be \"456.34\"."},"required":true,"description":"When the mode is \"pay\" this is the amount of the token to be sent; when the mode is \"receive\" this is the amount of the token that will be received. E.g. to send 456.34 USDT the amount should be \"456.34\"."},{"name":"amountNative","in":"query","schema":{"type":"string","description":"The amount of native gas token (e.g. ETH, MATIC, BNB) that will be delivered to the user's wallet on the destination chain for a Gas Boost, e.g. \"10\"."},"required":false,"description":"The amount of native gas token (e.g. ETH, MATIC, BNB) that will be delivered to the user's wallet on the destination chain for a Gas Boost, e.g. \"10\"."},{"name":"mode","in":"query","schema":{"type":"string","enum":["pay","receive"],"description":"Whether the amount should represent the sending or receiving amount, e.g. \"pay\". When \"pay\" is used, `amount` represents the value on the `chainIn` and the `chainOut` value will be calculated and provided in the quote. When \"receive\" is used, `amount` represents the value on the `chainOut` and the `chainIn` value will be calculated and provided in the quote.","examples":["pay"]},"required":true,"description":"Whether the amount should represent the sending or receiving amount, e.g. \"pay\". When \"pay\" is used, `amount` represents the value on the `chainIn` and the `chainOut` value will be calculated and provided in the quote. When \"receive\" is used, `amount` represents the value on the `chainOut` and the `chainIn` value will be calculated and provided in the quote."},{"name":"isSda","in":"query","schema":{"allOf":[{"$ref":"#/components/schemas/BooleanFromString"}],"description":"Whether the generated quote should be for the transaction via a Rhino.fi Smart Deposit Address or not, e.g. `true`. If the transaction will be via a Rhino.fi Smart Deposit Address then this should be included as `true`. This param will default to `false`."},"required":false,"description":"Whether the generated quote should be for the transaction via a Rhino.fi Smart Deposit Address or not, e.g. `true`. If the transaction will be via a Rhino.fi Smart Deposit Address then this should be included as `true`. This param will default to `false`."},{"name":"tokenIn","in":"query","schema":{"type":"string","description":"The token that is to be sent on the chainIn, e.g. \"USDT\".","title":"nonEmptyString","minLength":1},"required":true,"description":"The token that is to be sent on the chainIn, e.g. \"USDT\"."},{"name":"tokenOut","in":"query","schema":{"type":"string","description":"The token that is to be received on the chainOut, e.g. \"USDT\".","title":"nonEmptyString","minLength":1},"required":true,"description":"The token that is to be received on the chainOut, e.g. \"USDT\"."}],"security":[],"responses":{"200":{"description":"SingleBridgePublicQuoteResponseSchema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SingleBridgePublicQuoteResponseSchema"},{"$ref":"#/components/schemas/BridgeSwapPublicQuoteResponseSchema"}]}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpApiDecodeError"}}}},"404":{"description":"NoRouteFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoRouteFoundError"}}}},"422":{"description":"InvalidRequest","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InvalidRequest"},{"$ref":"#/components/schemas/GasBoostGreaterThanReceiveAmount"},{"$ref":"#/components/schemas/NegativeReceiveAmount"},{"$ref":"#/components/schemas/NoCommonBridgeTokensError"},{"$ref":"#/components/schemas/NoBridgeTokenFoundError"},{"$ref":"#/components/schemas/SameChainSwapNotAvailable"}]}}}}},"description":"Fetch public bridge and swap quote.","summary":"Public Quote for Bridge & Swap"}},"/quote/bridge-swap/user":{"post":{"tags":["quote"],"operationId":"quote.bridgeSwapUserQuote","parameters":[],"security":[{"bearer":[]},{"legacyApiKey":[]}],"responses":{"200":{"description":"ConnectedSingleBridgeQuoteResponseSchema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ConnectedSingleBridgeQuoteResponseSchema"},{"$ref":"#/components/schemas/ConnectedBridgeSwapQuoteResponseSchema"},{"$ref":"#/components/schemas/ConnectedDepositAddressBridgeQuoteResponseSchema"}]}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidJwt"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"NoRouteFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoRouteFoundError"}}}},"422":{"description":"WithdrawLimitReached","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/WithdrawLimitReached"},{"$ref":"#/components/schemas/DepositLimitReached"},{"$ref":"#/components/schemas/GasBoostGreaterThanReceiveAmount"},{"$ref":"#/components/schemas/NegativeReceiveAmount"},{"$ref":"#/components/schemas/InvalidRequest"},{"$ref":"#/components/schemas/SwapLimitReached"},{"$ref":"#/components/schemas/NoCommonBridgeTokensError"},{"$ref":"#/components/schemas/NoBridgeTokenFoundError"},{"$ref":"#/components/schemas/SdaDepositLimitExceeded"},{"$ref":"#/components/schemas/SdaDepositBelowMinimum"},{"$ref":"#/components/schemas/SameChainSwapNotAvailable"}]}}}}},"description":"This endpoint allows you to obtain a quote for a bridge or bridge+swap transaction that can be submitted through the `POST /quote/commit/{quoteId}` endpoint.","summary":"Generate a bridge/bridge+swap quote","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["chainIn","chainOut","amount","mode","tokenIn","tokenOut","depositor","recipient"],"properties":{"chainIn":{"type":"string","description":"The blockchain that the tokens will be bridged from, e.g. \"ETHEREUM\".","title":"nonEmptyString","minLength":1},"chainOut":{"type":"string","description":"The blockchain that the tokens will be bridged to, e.g. \"AVALANCHE\".","title":"nonEmptyString","minLength":1},"amount":{"type":"string","description":"When the mode is \"pay\" this is the amount of the token to be sent; when the mode is \"receive\" this is the amount of the token that will be received. E.g. to send 456.34 USDT the amount should be \"456.34\"."},"amountNative":{"type":"string","description":"The amount of native gas token (e.g. ETH, MATIC, BNB) that will be delivered to the user's wallet on the destination chain for a Gas Boost, e.g. \"10\"."},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount should represent the sending or receiving amount, e.g. \"pay\". When \"pay\" is used, `amount` represents the value on the `chainIn` and the `chainOut` value will be calculated and provided in the quote. When \"receive\" is used, `amount` represents the value on the `chainOut` and the `chainIn` value will be calculated and provided in the quote.","examples":["pay"]},"isSda":{"allOf":[{"$ref":"#/components/schemas/BooleanFromString"}],"description":"Whether the generated quote should be for the transaction via a Rhino.fi Smart Deposit Address or not, e.g. `true`. If the transaction will be via a Rhino.fi Smart Deposit Address then this should be included as `true`. This param will default to `false`."},"tokenIn":{"type":"string","description":"The token that is to be sent on the chainIn, e.g. \"USDT\".","title":"nonEmptyString","minLength":1},"tokenOut":{"type":"string","description":"The token that is to be received on the chainOut, e.g. \"USDT\".","title":"nonEmptyString","minLength":1},"depositor":{"type":"string","description":"The address on the chainIn that will be sending the tokens for bridging, e.g. \"0x1234...Abc\"."},"recipient":{"type":"string","description":"The address on the chainOut that will be receiving the bridged tokens, e.g. \"0x1234...Abc\"."},"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 specific clients, 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."},"webhookUrl":{"type":"string","description":"A URL that success or failure events related to this bridging transaction should be sent to, e.g. \"https://client.com/rhino-webhook\"."},"refundAddress":{"type":"string","description":"The address that the tokens should be returned to in the case that this transaction fails, e.g. \"0xabc...xyz\". Where this is not set in advance, Rhino.fi can still facilitate the refund of any assets given a failed AML check or unsupported tokens being received; please contact your Customer Support Manager for assistance in this situation."}},"additionalProperties":false}}},"required":true}}},"/quote/bridge-swap/limits":{"get":{"tags":["quote"],"operationId":"quote.bridgeSwapLimits","parameters":[{"name":"chainIn","in":"query","schema":{"type":"string","description":"The blockchain that the tokens will be bridged from, e.g. \"ETHEREUM\"."},"required":true,"description":"The blockchain that the tokens will be bridged from, e.g. \"ETHEREUM\"."},{"name":"chainOut","in":"query","schema":{"type":"string","description":"The blockchain that the tokens will be bridged to, e.g. \"AVALANCHE\"."},"required":true,"description":"The blockchain that the tokens will be bridged to, e.g. \"AVALANCHE\"."},{"name":"tokenIn","in":"query","schema":{"type":"string","description":"The token that is to be sent on the chainIn, e.g. \"USDT\"."},"required":true,"description":"The token that is to be sent on the chainIn, e.g. \"USDT\"."},{"name":"tokenOut","in":"query","schema":{"type":"string","description":"The token that is to be received on the chainOut, e.g. \"USDT\"."},"required":true,"description":"The token that is to be received on the chainOut, e.g. \"USDT\"."},{"name":"isSda","in":"query","schema":{"allOf":[{"$ref":"#/components/schemas/BooleanFromString"}],"description":"Whether the limits are for a transaction via a Rhino.fi Smart Deposit Address or not, e.g. `true`. If the transaction will be via a Rhino.fi Smart Deposit Address then this should be included as `true`. This param will default to `false`."},"required":false,"description":"Whether the limits are for a transaction via a Rhino.fi Smart Deposit Address or not, e.g. `true`. If the transaction will be via a Rhino.fi Smart Deposit Address then this should be included as `true`. This param will default to `false`."},{"name":"depositor","in":"query","schema":{"type":"string"},"required":false}],"security":[{"bearer":[]},{"legacyApiKey":[]}],"responses":{"200":{"description":"BridgeSwapLimitsResponseSchema","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BridgeSwapLimitsResponseSchema"}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidJwt"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"422":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequest"}}}}},"description":"This endpoint provides information on the maximum amount which can be deposited and what settlement speed this will be achieved in, for various bridge or SDA routes.","summary":"Get the current limits for a path"}},"/configs":{"get":{"tags":["configs"],"operationId":"configs.configs","parameters":[],"security":[],"responses":{"200":{"description":"Map of network identifiers to their configuration details. Keys are network identifiers, values contain full network configuration including tokens.","content":{"application/json":{"schema":{"type":"object","required":[],"properties":{},"additionalProperties":{"$ref":"#/components/schemas/BridgeConfigEntrySchema"},"description":"Map of network identifiers to their configuration details. Keys are network identifiers, values contain full network configuration including tokens."}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpApiDecodeError"}}}}},"description":"This endpoint provides key information about the chains and tokens that Rhino.fi supports swapping and/or bridging across as well as field names that should be used in other endpoints.","summary":"Obtain token and chain details for swapping and/or bridging activity"}},"/config/{chain}/{token}":{"get":{"tags":["configs"],"operationId":"configs.configTokenChain","parameters":[{"name":"chain","in":"path","schema":{"type":"string","description":"The blockchain that details should be provided for, e.g. \"ETHEREUM\"."},"required":true,"description":"The blockchain that details should be provided for, e.g. \"ETHEREUM\"."},{"name":"token","in":"path","schema":{"type":"string","description":"The token that details should be provided for."},"required":true,"description":"The token that details should be provided for."}],"security":[],"responses":{"200":{"description":"ExtendedTokenEntry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedTokenEntry"}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidTokenForChain"},{"$ref":"#/components/schemas/InvalidToken"}]}}}}},"description":"This endpoint provides key information a chain or token that Rhino.fi supports swapping and/or bridging across as well as field names that should be used in other endpoints.","summary":"Obtain token and chain details for swapping and/or bridging activity for a specific token on a specific chain"}},"/config/tokens":{"get":{"tags":["configs"],"operationId":"configs.configTokenAddressChain","parameters":[{"name":"chain","in":"query","schema":{"type":"string","description":"The blockchain chain identifier (e.g., \"ETHEREUM\", \"ARBITRUM\")."},"required":true,"description":"The blockchain chain identifier (e.g., \"ETHEREUM\", \"ARBITRUM\")."},{"name":"tokenAddress","in":"query","schema":{"type":"string","description":"The token contract address on the specified chain."},"required":true,"description":"The token contract address on the specified chain."}],"security":[],"responses":{"200":{"description":"ExtendedTokenEntry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedTokenEntry"}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidTokenForChain"},{"$ref":"#/components/schemas/InvalidToken"}]}}}}},"description":"Fetch config for a token by address","summary":"Single Config (token address/chain)"}},"/bridge-swap-token-configs":{"get":{"tags":["configs"],"operationId":"configs.bridgeSwapTokenConfigs","parameters":[],"security":[],"responses":{"200":{"description":"Map of token symbols to their configuration arrays across all supported chains.","content":{"application/json":{"schema":{"type":"object","required":[],"properties":{},"additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/TokenConfigResponseSchema"},"description":"Array of token configurations for the specified token across different chains."},"description":"Map of token symbols to their configuration arrays across all supported chains."}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpApiDecodeError"}}}}},"description":"This endpoint provides a list of which swap tokens are supported by Rhino.fi on which chains and key details for each chain and token. These are the tokens available for swapping activity.","summary":"Obtain details for which swap tokens are supported by Rhino.fi on which chains"}},"/history-cursor/user":{"get":{"tags":["history"],"operationId":"history.userHistoryCursor","parameters":[{"name":"sortBy","in":"query","schema":{"type":"string","enum":["createdAt","updatedAt"],"description":"The field that results will be sorted by. Either \"createdAt\" (sorting by the datetime that the quote was created) or \"updatedAt\" (sorting by the datetime that the quote was last updated). Must be used in conjunction with sortDirection.","examples":["createdAt"]},"required":true,"description":"The field that results will be sorted by. Either \"createdAt\" (sorting by the datetime that the quote was created) or \"updatedAt\" (sorting by the datetime that the quote was last updated). Must be used in conjunction with sortDirection."},{"name":"sortDirection","in":"query","schema":{"type":"string","enum":["asc","desc"],"description":"The order that results will be returned in. Either \"asc\" or \"desc\". Must be used in conjunction with sortBy.","examples":["desc"]},"required":true,"description":"The order that results will be returned in. Either \"asc\" or \"desc\". Must be used in conjunction with sortBy."},{"name":"pageToken","in":"query","schema":{"$ref":"#/components/schemas/NonEmptyString"},"required":false},{"name":"pageSize","in":"query","schema":{"type":"string","description":"a string to be decoded into a number"},"required":true,"description":"a string to be decoded into a number"},{"name":"state","in":"query","schema":{"type":"string","enum":["PENDING","ACCEPTED","EXECUTED"],"description":"Optional filter by the status of the bridge/bridge+swap transaction. One of: \"PENDING\" (the quote has been committed but the deposit has not yet been received and accepted for processing), \"ACCEPTED\" (the deposit has been accepted and the transaction is being processed onchain), or \"EXECUTED\" (fully processed onchain).","examples":["PENDING"]},"required":false,"description":"Optional filter by the status of the bridge/bridge+swap transaction. One of: \"PENDING\" (the quote has been committed but the deposit has not yet been received and accepted for processing), \"ACCEPTED\" (the deposit has been accepted and the transaction is being processed onchain), or \"EXECUTED\" (fully processed onchain)."}],"security":[{"bearer":[]},{"legacyApiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["items","nextPageToken"],"properties":{"items":{"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositDiscoveredAt","expectedDepositConfirmedAt","expectedDepositConfirmedAtBlock","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositDiscoveredAt","expectedDepositConfirmedAt","expectedDepositConfirmedAtBlock","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","cancelledAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"cancelledAt":{"type":"string","description":"The datetime that the transaction was cancelled."},"state":{"type":"string","enum":["CANCELLED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","cancelledAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"cancelledAt":{"type":"string","description":"The datetime that the transaction was cancelled."},"state":{"type":"string","enum":["CANCELLED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","failedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"failedAt":{"type":"string","description":"The datetime that the transaction failed."},"state":{"type":"string","enum":["FAILED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["SWAP_FAILED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"failedAt":{"type":"string","description":"The datetime that the transaction failed."},"state":{"type":"string","enum":["FAILED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","refundTxHash","refundTxTimestamp","refundedToken","refundedAmount","refundedChain","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"refundTxHash":{"type":"string","description":"The transaction hash of the refund that was made.","title":"nonEmptyString","minLength":1},"refundTxTimestamp":{"type":"string","description":"The datetime that the refund transaction was made."},"refundedToken":{"type":"string","description":"The asset that was refunded.","title":"nonEmptyString","minLength":1},"refundedAmount":{"type":"string","description":"The native value of the tokens that were refunded."},"refundedChain":{"type":"string","description":"The blockchain that the refund was made on.","title":"nonEmptyString","minLength":1},"state":{"type":"string","enum":["SWAP_FAILED_REFUNDED"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["DEPOSIT_RECEIVED_AFTER_GRACE_PERIOD"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","refundTxHash","refundTxTimestamp","refundedToken","refundedAmount","refundedChain","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"refundTxHash":{"type":"string","description":"The transaction hash of the refund that was made.","title":"nonEmptyString","minLength":1},"refundTxTimestamp":{"type":"string","description":"The datetime that the refund transaction was made."},"refundedToken":{"type":"string","description":"The asset that was refunded.","title":"nonEmptyString","minLength":1},"refundedAmount":{"type":"string","description":"The native value of the tokens that were refunded."},"refundedChain":{"type":"string","description":"The blockchain that the refund was made on.","title":"nonEmptyString","minLength":1},"state":{"type":"string","enum":["DEPOSIT_RECEIVED_AFTER_GRACE_PERIOD_REFUNDED"]}},"additionalProperties":false}]},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","withdrawTxHash","withdrawCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","withdrawTxHash","withdrawCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false}],"description":"Bridge transaction details."}},"nextPageToken":{"anyOf":[{"$ref":"#/components/schemas/NonEmptyString"},{"type":"null"}],"description":"An opaque token identifying the next page of results, to be passed in the `pageToken` query param to fetch it. Null when there are no further pages."}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidJwt"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"422":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequest"}}}}},"description":"This endpoint provides a full history of a user's bridging and swapping activity. This includes commits for quotes generated through the `POST /quote/bridge-swap/user` endpoint and submitted through `POST /quote/commit/{quoteId}`, as well as bridges initiated via a Smart Deposit Address.","summary":"Obtain a list of previously generated swapping and/or bridging quotes"}},"/history/bridge/{bridgeId}":{"get":{"tags":["history"],"operationId":"history.bridgeHistory","parameters":[{"name":"bridgeId","in":"path","schema":{"type":"string","description":"The ID of the bridge transaction, also referred to as `quoteId` within the `POST /quote/bridge-swap/user` endpoint, e.g. \"665f8b2e1c9d440000a1b2c3\"."},"required":true,"description":"The ID of the bridge transaction, also referred to as `quoteId` within the `POST /quote/bridge-swap/user` endpoint, e.g. \"665f8b2e1c9d440000a1b2c3\"."}],"security":[{"bearer":[]},{"legacyApiKey":[]}],"responses":{"200":{"description":"BridgePending","content":{"application/json":{"schema":{"anyOf":[{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositDiscoveredAt","expectedDepositConfirmedAt","expectedDepositConfirmedAtBlock","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositDiscoveredAt","expectedDepositConfirmedAt","expectedDepositConfirmedAtBlock","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","cancelledAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"cancelledAt":{"type":"string","description":"The datetime that the transaction was cancelled."},"state":{"type":"string","enum":["CANCELLED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","cancelledAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"cancelledAt":{"type":"string","description":"The datetime that the transaction was cancelled."},"state":{"type":"string","enum":["CANCELLED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","failedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"failedAt":{"type":"string","description":"The datetime that the transaction failed."},"state":{"type":"string","enum":["FAILED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["SWAP_FAILED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"failedAt":{"type":"string","description":"The datetime that the transaction failed."},"state":{"type":"string","enum":["FAILED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","refundTxHash","refundTxTimestamp","refundedToken","refundedAmount","refundedChain","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"refundTxHash":{"type":"string","description":"The transaction hash of the refund that was made.","title":"nonEmptyString","minLength":1},"refundTxTimestamp":{"type":"string","description":"The datetime that the refund transaction was made."},"refundedToken":{"type":"string","description":"The asset that was refunded.","title":"nonEmptyString","minLength":1},"refundedAmount":{"type":"string","description":"The native value of the tokens that were refunded."},"refundedChain":{"type":"string","description":"The blockchain that the refund was made on.","title":"nonEmptyString","minLength":1},"state":{"type":"string","enum":["SWAP_FAILED_REFUNDED"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["DEPOSIT_RECEIVED_AFTER_GRACE_PERIOD"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","refundTxHash","refundTxTimestamp","refundedToken","refundedAmount","refundedChain","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"refundTxHash":{"type":"string","description":"The transaction hash of the refund that was made.","title":"nonEmptyString","minLength":1},"refundTxTimestamp":{"type":"string","description":"The datetime that the refund transaction was made."},"refundedToken":{"type":"string","description":"The asset that was refunded.","title":"nonEmptyString","minLength":1},"refundedAmount":{"type":"string","description":"The native value of the tokens that were refunded."},"refundedChain":{"type":"string","description":"The blockchain that the refund was made on.","title":"nonEmptyString","minLength":1},"state":{"type":"string","enum":["DEPOSIT_RECEIVED_AFTER_GRACE_PERIOD_REFUNDED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","withdrawTxHash","withdrawCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","withdrawTxHash","withdrawCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false}]}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidJwt"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"422":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequest"}}}}},"description":"This endpoint provides the status of a bridge transaction as created through the `POST /quote/bridge-swap/user` endpoint. For status information for Smart Deposit Address transactions, the `GET /sda/deposit-addresses/{depositAddress}/{depositChain}` endpoint should be used.","summary":"Obtain the status of a specific bridge transaction"},"patch":{"tags":["history"],"operationId":"history.patchBridgeHistory","parameters":[{"name":"bridgeId","in":"path","schema":{"type":"string","description":"The ID of the bridge transaction, also referred to as `quoteId` within the `POST /quote/bridge-swap/user` endpoint, e.g. \"665f8b2e1c9d440000a1b2c3\"."},"required":true,"description":"The ID of the bridge transaction, also referred to as `quoteId` within the `POST /quote/bridge-swap/user` endpoint, e.g. \"665f8b2e1c9d440000a1b2c3\"."}],"security":[{"bearer":[]},{"legacyApiKey":[]}],"responses":{"200":{"description":"BridgePending","content":{"application/json":{"schema":{"anyOf":[{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositDiscoveredAt","expectedDepositConfirmedAt","expectedDepositConfirmedAtBlock","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositDiscoveredAt","expectedDepositConfirmedAt","expectedDepositConfirmedAtBlock","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","cancelledAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"cancelledAt":{"type":"string","description":"The datetime that the transaction was cancelled."},"state":{"type":"string","enum":["CANCELLED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","cancelledAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"cancelledAt":{"type":"string","description":"The datetime that the transaction was cancelled."},"state":{"type":"string","enum":["CANCELLED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","failedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"failedAt":{"type":"string","description":"The datetime that the transaction failed."},"state":{"type":"string","enum":["FAILED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["SWAP_FAILED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"failedAt":{"type":"string","description":"The datetime that the transaction failed."},"state":{"type":"string","enum":["FAILED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","refundTxHash","refundTxTimestamp","refundedToken","refundedAmount","refundedChain","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"refundTxHash":{"type":"string","description":"The transaction hash of the refund that was made.","title":"nonEmptyString","minLength":1},"refundTxTimestamp":{"type":"string","description":"The datetime that the refund transaction was made."},"refundedToken":{"type":"string","description":"The asset that was refunded.","title":"nonEmptyString","minLength":1},"refundedAmount":{"type":"string","description":"The native value of the tokens that were refunded."},"refundedChain":{"type":"string","description":"The blockchain that the refund was made on.","title":"nonEmptyString","minLength":1},"state":{"type":"string","enum":["SWAP_FAILED_REFUNDED"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["DEPOSIT_RECEIVED_AFTER_GRACE_PERIOD"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","refundTxHash","refundTxTimestamp","refundedToken","refundedAmount","refundedChain","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"refundTxHash":{"type":"string","description":"The transaction hash of the refund that was made.","title":"nonEmptyString","minLength":1},"refundTxTimestamp":{"type":"string","description":"The datetime that the refund transaction was made."},"refundedToken":{"type":"string","description":"The asset that was refunded.","title":"nonEmptyString","minLength":1},"refundedAmount":{"type":"string","description":"The native value of the tokens that were refunded."},"refundedChain":{"type":"string","description":"The blockchain that the refund was made on.","title":"nonEmptyString","minLength":1},"state":{"type":"string","enum":["DEPOSIT_RECEIVED_AFTER_GRACE_PERIOD_REFUNDED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","withdrawTxHash","withdrawCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","withdrawTxHash","withdrawCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false}]}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidJwt"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"BridgeNotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BridgeNotFound"}}}},"422":{"description":"CannotCancelBridge","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CannotCancelBridge"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}}},"description":"Patch the status of a bridge.","summary":"Patch Bridge Status","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["state"],"properties":{"state":{"type":"string","enum":["CANCELLED"]}},"additionalProperties":false}}},"required":true}}},"/history/bridge/by-withdraw-hash/{withdrawTxHash}":{"get":{"tags":["history"],"operationId":"history.bridgeHistoryByWithdrawHash","parameters":[{"name":"withdrawTxHash","in":"path","schema":{"type":"string","description":"The transaction hash of a withdrawal for a bridge transaction, e.g. \"0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060\"."},"required":true,"description":"The transaction hash of a withdrawal for a bridge transaction, e.g. \"0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060\"."}],"security":[{"bearer":[]},{"legacyApiKey":[]}],"responses":{"200":{"description":"BridgeExecuted","content":{"application/json":{"schema":{"anyOf":[{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","withdrawTxHash","withdrawCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","withdrawTxHash","withdrawCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false}]}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidJwt"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"422":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequest"}}}}},"description":"This endpoint provides the status of a bridge transaction as created through the `POST /quote/bridge-swap/user` endpoint based on a given withdrawal transaction hash. For status information for Smart Deposit Address transactions, the `GET /sda/deposit-addresses/{depositAddress}/{depositChain}` endpoint should be used.","summary":"Obtain the status of a specific bridge transaction by withdrawal hash"}},"/history/bridge/by-deposit-hash/{depositTxHash}":{"get":{"tags":["history"],"operationId":"history.bridgeHistoryByDepositHash","parameters":[{"name":"depositTxHash","in":"path","schema":{"type":"string","description":"The transaction hash of the deposit for a bridge transaction, e.g. \"0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060\"."},"required":true,"description":"The transaction hash of the deposit for a bridge transaction, e.g. \"0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060\"."}],"security":[{"bearer":[]},{"legacyApiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","minItems":1,"items":{"anyOf":[{"anyOf":[{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"state":{"type":"string","enum":["PENDING"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositDiscoveredAt","expectedDepositConfirmedAt","expectedDepositConfirmedAtBlock","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositDiscoveredAt","expectedDepositConfirmedAt","expectedDepositConfirmedAtBlock","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"state":{"type":"string","enum":["PENDING_CONFIRMATION"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","cancelledAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"cancelledAt":{"type":"string","description":"The datetime that the transaction was cancelled."},"state":{"type":"string","enum":["CANCELLED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","cancelledAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"cancelledAt":{"type":"string","description":"The datetime that the transaction was cancelled."},"state":{"type":"string","enum":["CANCELLED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","failedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"failedAt":{"type":"string","description":"The datetime that the transaction failed."},"state":{"type":"string","enum":["FAILED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["SWAP_FAILED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"failedAt":{"type":"string","description":"The datetime that the transaction failed."},"state":{"type":"string","enum":["FAILED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["DEPOSIT_ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"state":{"type":"string","enum":["ACCEPTED"]}},"additionalProperties":false},{"type":"object","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"],"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":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"paymentIntentId":{"$ref":"#/components/schemas/PaymentIntentId"},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","refundTxHash","refundTxTimestamp","refundedToken","refundedAmount","refundedChain","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"isConfirmed":{"type":"boolean","description":"Whether the deposit transaction has reached the required number of confirmations on the chainIn."},"refundTxHash":{"type":"string","description":"The transaction hash of the refund that was made.","title":"nonEmptyString","minLength":1},"refundTxTimestamp":{"type":"string","description":"The datetime that the refund transaction was made."},"refundedToken":{"type":"string","description":"The asset that was refunded.","title":"nonEmptyString","minLength":1},"refundedAmount":{"type":"string","description":"The native value of the tokens that were refunded."},"refundedChain":{"type":"string","description":"The blockchain that the refund was made on.","title":"nonEmptyString","minLength":1},"state":{"type":"string","enum":["SWAP_FAILED_REFUNDED"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"state":{"type":"string","enum":["DEPOSIT_RECEIVED_AFTER_GRACE_PERIOD"]}},"additionalProperties":false},{"type":"object","required":["depositTxHash","depositCommittedAt","reason","_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","refundTxHash","refundTxTimestamp","refundedToken","refundedAmount","refundedChain","state"],"properties":{"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"reason":{"type":"string","description":"The reason that the transaction was rejected."},"additionalData":{"anyOf":[{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]}},{"type":"null"}]},"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"refundTxHash":{"type":"string","description":"The transaction hash of the refund that was made.","title":"nonEmptyString","minLength":1},"refundTxTimestamp":{"type":"string","description":"The datetime that the refund transaction was made."},"refundedToken":{"type":"string","description":"The asset that was refunded.","title":"nonEmptyString","minLength":1},"refundedAmount":{"type":"string","description":"The native value of the tokens that were refunded."},"refundedChain":{"type":"string","description":"The blockchain that the refund was made on.","title":"nonEmptyString","minLength":1},"state":{"type":"string","enum":["DEPOSIT_RECEIVED_AFTER_GRACE_PERIOD_REFUNDED"]}},"additionalProperties":false}]},{"type":"object","required":["_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","token","usdPrice","depositTxHash","depositCommittedAt","withdrawTxHash","withdrawCommittedAt","state"],"properties":{"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"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 being bridged, sent on the chainIn and received on the chainOut."},"usdPrice":{"type":"number","description":"The USD price of the token at the time the quote was created."},"_tag":{"type":"string","enum":["bridge"]},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false},{"type":"object","required":["_tag","_id","userId","chainIn","chainOut","amountIn","amountInUsd","amountOut","amountOutUsd","amountNative","amountNativeUsd","fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd","sponsoredFees","recipient","depositor","createdAt","commitmentDate","tokenIn","tokenOut","minAmountOut","minAmountOutUsd","usdPriceTokenIn","usdPriceTokenOut","depositTxHash","depositCommittedAt","withdrawTxHash","withdrawCommittedAt","state"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"_id":{"type":"string"},"userId":{"type":"string","description":"The projectID that the transaction is associated with."},"chainIn":{"type":"string","description":"The blockchain that the tokens were bridged from."},"chainOut":{"type":"string","description":"The blockchain that the tokens were bridged to."},"amountIn":{"type":"string","description":"The native value of the tokens that were sent on the chainIn."},"amountInUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainIn."},"amountOut":{"type":"string","description":"The native value of the tokens that were sent on the chainOut."},"amountOutUsd":{"type":"number","description":"The USD value of the tokens that were sent on the chainOut."},"amountNative":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromString"},{"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":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The value, in USD, of amountNative."},"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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","required":["fee","feeUsd","gasFee","gasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","sourceGasFee","sourceGasFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"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."}},"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","description":"The datetime that the bridging / bridging+swapping quote was created."},"commitmentDate":{"type":"string","description":"The datetime that the bridging / bridging+swapping quote was committed with Rhino.fi."},"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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"postBridgeData":{"anyOf":[{"$ref":"#/components/schemas/ExtendedPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapPostBridgeData"},{"$ref":"#/components/schemas/WirexWrapSandboxPostBridgeData"},{"$ref":"#/components/schemas/StarkwareBtcfiCampaignV2PostBridgeData"},{"$ref":"#/components/schemas/AaveV3SupplyPostBridgeData"},{"$ref":"#/components/schemas/RocketFoundationDepositPostBridgeData"},{"$ref":"#/components/schemas/MapleDepositPostBridgeData"},{"$ref":"#/components/schemas/EtherfiDepositPostBridgeData"}],"description":"Custom Routing Rules as configured by Rhino.fi for a specific client, e.g. to move funds after the initial bridge into a yield bearing vault. To understand more about how Routing Rules can help automate onchain actions and ensure that your funds land in an active state, please contact your Rhino.fi Customer Success Manager or speak to a member of the Rhino.fi sales team."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."},"tokenIn":{"type":"string","description":"The asset that was sent on the chainIn."},"tokenOut":{"type":"string","description":"The asset that was received on the chainOut."},"minAmountOut":{"type":"string","description":"The minimum native value of tokenOut guaranteed to be received on the chainOut, after slippage."},"minAmountOutUsd":{"type":"number","description":"The USD value of the minAmountOut."},"usdPriceTokenIn":{"type":"number","description":"The USD price of the tokenIn at the time the quote was created."},"usdPriceTokenOut":{"type":"number","description":"The USD price of the tokenOut at the time the quote was created."},"preSwap":{"$ref":"#/components/schemas/SwapQuote"},"postSwap":{"$ref":"#/components/schemas/SwapQuote"},"mode":{"type":"string","enum":["pay","receive"],"description":"Whether the amount represented the sending (\"pay\") or receiving (\"receive\") amount when the quote was generated."},"isAtomicSwap":{"type":"boolean","description":"Whether the transaction was executed as an atomic swap."},"swapFeeMultiplier":{"type":"string","description":"The multiplier applied to the swap fee for this transaction."},"depositTxHash":{"type":"string","description":"The transaction hash of the deposit made on the chainIn."},"depositCommittedAt":{"type":"string","description":"The datetime that the deposit transaction was committed on the chainIn."},"depositDiscoveredAt":{"type":"string","description":"The datetime that Rhino.fi first discovered the deposit transaction on the chainIn."},"depositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction reached the required number of confirmations on the chainIn."},"expectedDepositConfirmedAt":{"type":"string","description":"The datetime that the deposit transaction is expected to reach the required number of confirmations on the chainIn."},"expectedDepositConfirmedAtBlock":{"type":"integer","description":"The block on the chainIn at which the deposit transaction is expected to reach the required number of confirmations.","title":"int"},"preSwapTxHash":{"type":"string","description":"The transaction hash of the swap performed on the chainIn before bridging."},"preSwapCommittedAt":{"type":"string","description":"The datetime that the pre-bridge swap was committed on the chainIn."},"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","description":"The datetime that the withdrawal transaction was committed on the chainOut."},"state":{"type":"string","enum":["EXECUTED"]}},"additionalProperties":false}]}}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidJwt"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"404":{"description":"HistoryNotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoryNotFound"}}}},"422":{"description":"InvalidRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequest"}}}}},"description":"This endpoint provides the status of a bridge transaction as created through the `POST /quote/bridge-swap/user` endpoint based on a given deposit transaction hash. For status information for Smart Deposit Address transactions, the `GET /sda/deposit-addresses/{depositAddress}/{depositChain}` endpoint should be used.","summary":"Obtain the status of a specific bridge transaction by deposit hash"}},"/swap/calldata/{commitmentId}":{"get":{"tags":["swap"],"operationId":"swap.calldata","parameters":[{"name":"commitmentId","in":"path","schema":{"type":"string","description":"The ID of the bridge and swap transaction, also referred to as `quoteId` within the `POST /quote/bridge-swap/user` endpoint, e.g. \"665f8b2e1c9d440000a1b2c3\"."},"required":true,"description":"The ID of the bridge and swap transaction, also referred to as `quoteId` within the `POST /quote/bridge-swap/user` endpoint, e.g. \"665f8b2e1c9d440000a1b2c3\"."}],"security":[],"responses":{"200":{"description":"SwapCalldataResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapCalldataResponse"}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpApiDecodeError"}}}},"404":{"description":"CommitmentNotFoundError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CommitmentNotFoundError"},{"$ref":"#/components/schemas/TokenNotFoundError"}]}}}},"422":{"description":"InvalidCommitmentTypeError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidCommitmentTypeError"}}}}},"description":"Get the calldata needed to execute a single swap.","summary":"Calldata to execute a single swap"}}},"components":{"schemas":{"HttpApiDecodeError":{"type":"object","required":["issues","message","_tag"],"properties":{"issues":{"type":"array","items":{"$ref":"#/components/schemas/Issue"}},"message":{"type":"string"},"_tag":{"type":"string","enum":["HttpApiDecodeError"]}},"additionalProperties":false,"description":"The request did not match the expected schema"},"Issue":{"type":"object","required":["_tag","path","message"],"properties":{"_tag":{"type":"string","enum":["Pointer","Unexpected","Missing","Composite","Refinement","Transformation","Type","Forbidden"],"description":"The tag identifying the type of parse issue"},"path":{"type":"array","items":{"$ref":"#/components/schemas/PropertyKey"},"description":"The path to the property where the issue occurred"},"message":{"type":"string","description":"A descriptive message explaining the issue"}},"additionalProperties":false,"description":"Represents an error encountered while parsing a value to match the schema"},"PropertyKey":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"object","required":["_tag","key"],"properties":{"_tag":{"type":"string","enum":["symbol"]},"key":{"type":"string"}},"additionalProperties":false,"description":"an object to be decoded into a globally shared symbol"}]},"InvalidJwt":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["InvalidJwt"]}},"additionalProperties":false},"InvalidRequest":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["InvalidRequest"]}},"additionalProperties":false},"DestinationValidationFailed":{"type":"object","required":["message","failures","_tag"],"properties":{"message":{"type":"string"},"failures":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/DestinationValidationFailure"}},"_tag":{"type":"string","enum":["DestinationValidationFailed"]}},"additionalProperties":false},"DestinationValidationFailure":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["ACCOUNT_NOT_FOUND","TRUSTLINE_MISSING","TRUSTLINE_NOT_AUTHORIZED","TRUSTLINE_INSUFFICIENT_LIMIT","MEMO_REQUIRED","RECIPIENT_NOT_ALLOWED"]},"message":{"type":"string"}},"additionalProperties":false},"QuoteNotFound":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["QuoteNotFound"]}},"additionalProperties":false},"Unauthorized":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["Unauthorized"]}},"additionalProperties":false},"DestinationValidationUnavailable":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["DestinationValidationUnavailable"]}},"additionalProperties":false},"TooManyRequests":{"type":"object","required":["message","retryAfter","_tag"],"properties":{"message":{"type":"string"},"retryAfter":{"type":"number"},"_tag":{"type":"string","enum":["TooManyRequests"]}},"additionalProperties":false},"BooleanFromString":{"type":"string","enum":["true","false"],"description":"a string to be decoded into a boolean"},"SingleBridgePublicQuoteResponseSchema":{"type":"object","required":["chainIn","chainOut","payAmount","payAmountUsd","receiveAmount","receiveAmountUsd","fees","token","_tag"],"properties":{"chainIn":{"type":"string","description":"The blockchain that the tokens will be bridged from, e.g. \"ETHEREUM\"."},"chainOut":{"type":"string","description":"The blockchain that the tokens will be bridged to, e.g. \"AVALANCHE\"."},"payAmount":{"type":"string","description":"The value of the tokens that will be sent on the chainIn, denominated in the token as a human-readable decimal amount (e.g. \"1.5\"), not the smallest unit / wei."},"payAmountUsd":{"type":"number","description":"The USD value of the tokens that will be sent on the chainIn."},"receiveAmount":{"type":"string","description":"The value of the tokens that will be sent on the chainOut, denominated in the token as a human-readable decimal amount (e.g. \"1.5\"), not the smallest unit / wei."},"receiveAmountUsd":{"type":"number","description":"The USD value of the tokens that will be sent on the chainOut."},"fees":{"type":"object","required":["fee","feeUsd","gasFee","gasFeeUsd","sourceGasFee","sourceGasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","percentageFeeAmount","percentageFeeThreshold"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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."},"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."},"platformFee":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"percentageFeeAmount":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"Represents the %-based Client Surcharge which has been applied, based on percentageFeeThreshold. E.g. where there is a Client Surcharge of 0.5% for a transaction up to $1,000 and 0.2% up to $10,000, if the transaction amount is $500 then this percentageFeeAmount will be 0.05."},"percentageFeeThreshold":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"Represents the lower bound of any threshold-based setup which the percentageFee is being applied for. E.g. where there is a Client Surcharge of 0.5% for a transaction up to $1,000 and 0.2% up to $10,000, if the transaction amount is $500 then this percentageFeeThreshold will be 0."},"sponsoredFees":{"type":"object","required":["fee","feeUsd","gasFee","gasFeeUsd","sourceGasFee","sourceGasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction in token units."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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."},"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."},"platformFee":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."}},"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."}},"additionalProperties":false,"description":"Contains information about the fee structure of the transaction. The fields should be read differently depending on whether the client is a \"legacy\" or \"PAYG/subscription tier\" client."},"promotion":{"type":"object","required":["name","maxLimitUsd"],"properties":{"name":{"type":"string","description":"The name of the promotion applied to this quote."},"maxLimitUsd":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The maximum USD value of a transaction that this promotion applies to. Null where the promotion has no upper limit."}},"additionalProperties":false,"description":"Promotion details if applicable (optional)."},"gasBoost":{"type":"object","required":["amountNative","amountNativeUsd","amountNativeTokenCost"],"properties":{"amountNative":{"type":"string","description":"The amount of native gas token (e.g. ETH, MATIC, BNB) that will be delivered to the user's wallet on the destination chain."},"amountNativeUsd":{"type":"number","description":"The estimated value, in USD, of the amountNative."},"amountNativeTokenCost":{"type":"string","description":"The cost applied by Rhino.fi for enabling this Gas Boost functionality. This will be deducted from the tokens on the chainOut."}},"additionalProperties":false,"description":"Functionality provided by Rhino.fi to deliver a small amount of native gas token to the destination address, ensuring that further transactions from this address can be made immediately."},"speed":{"type":"string","enum":["fast","standard","slow"],"description":"Provides information about whether the transaction should 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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"token":{"type":"string","description":"The asset that will be received on the chainOut."},"_tag":{"type":"string","enum":["bridge"]}},"additionalProperties":false},"BigDecimalFromNumber":{"type":"number","description":"a number to be decoded into a BigDecimal"},"BridgeSwapPublicQuoteResponseSchema":{"type":"object","required":["chainIn","chainOut","payAmount","payAmountUsd","receiveAmount","receiveAmountUsd","fees","tokenIn","tokenOut","bridgeToken","bridgePayAmount","bridgePayAmountUsd","bridgeReceiveAmount","minReceiveAmount","minReceiveAmountUsd","usdPriceTokenIn","usdPriceTokenOut","_tag"],"properties":{"chainIn":{"type":"string","description":"The blockchain that the tokens will be bridged from, e.g. \"ETHEREUM\"."},"chainOut":{"type":"string","description":"The blockchain that the tokens will be bridged to, e.g. \"AVALANCHE\"."},"payAmount":{"type":"string","description":"The value of the tokens that will be sent on the chainIn, denominated in the token as a human-readable decimal amount (e.g. \"1.5\"), not the smallest unit / wei."},"payAmountUsd":{"type":"number","description":"The USD value of the tokens that will be sent on the chainIn."},"receiveAmount":{"type":"string","description":"The value of the tokens that will be sent on the chainOut, denominated in the token as a human-readable decimal amount (e.g. \"1.5\"), not the smallest unit / wei."},"receiveAmountUsd":{"type":"number","description":"The USD value of the tokens that will be sent on the chainOut."},"fees":{"type":"object","required":["fee","feeUsd","gasFee","gasFeeUsd","sourceGasFee","sourceGasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","percentageFeeAmount","percentageFeeThreshold"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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."},"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."},"platformFee":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"percentageFeeAmount":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"Represents the %-based Client Surcharge which has been applied, based on percentageFeeThreshold. E.g. where there is a Client Surcharge of 0.5% for a transaction up to $1,000 and 0.2% up to $10,000, if the transaction amount is $500 then this percentageFeeAmount will be 0.05."},"percentageFeeThreshold":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"Represents the lower bound of any threshold-based setup which the percentageFee is being applied for. E.g. where there is a Client Surcharge of 0.5% for a transaction up to $1,000 and 0.2% up to $10,000, if the transaction amount is $500 then this percentageFeeThreshold will be 0."},"sponsoredFees":{"type":"object","required":["fee","feeUsd","gasFee","gasFeeUsd","sourceGasFee","sourceGasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction in token units."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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."},"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."},"platformFee":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."}},"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."}},"additionalProperties":false,"description":"Contains information about the fee structure of the transaction. The fields should be read differently depending on whether the client is a \"legacy\" or \"PAYG/subscription tier\" client."},"promotion":{"type":"object","required":["name","maxLimitUsd"],"properties":{"name":{"type":"string","description":"The name of the promotion applied to this quote."},"maxLimitUsd":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The maximum USD value of a transaction that this promotion applies to. Null where the promotion has no upper limit."}},"additionalProperties":false,"description":"Promotion details if applicable (optional)."},"gasBoost":{"type":"object","required":["amountNative","amountNativeUsd","amountNativeTokenCost"],"properties":{"amountNative":{"type":"string","description":"The amount of native gas token (e.g. ETH, MATIC, BNB) that will be delivered to the user's wallet on the destination chain."},"amountNativeUsd":{"type":"number","description":"The estimated value, in USD, of the amountNative."},"amountNativeTokenCost":{"type":"string","description":"The cost applied by Rhino.fi for enabling this Gas Boost functionality. This will be deducted from the tokens on the chainOut."}},"additionalProperties":false,"description":"Functionality provided by Rhino.fi to deliver a small amount of native gas token to the destination address, ensuring that further transactions from this address can be made immediately."},"speed":{"type":"string","enum":["fast","standard","slow"],"description":"Provides information about whether the transaction should 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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"tokenIn":{"type":"string","description":"Token symbol or identifier being sent from the source chain."},"tokenOut":{"type":"string","description":"Token symbol or identifier being received on the destination chain."},"bridgeToken":{"type":"string","description":"Intermediate token used for the bridge operation."},"bridgePayAmount":{"type":"string","description":"Amount of bridge token that will be used in the bridge transaction."},"bridgePayAmountUsd":{"type":"number","description":"USD equivalent value of the bridge pay amount."},"bridgeReceiveAmount":{"type":"string","description":"Amount of bridge token expected to be received after bridging."},"minReceiveAmount":{"type":"string","description":"Minimum amount of tokenOut guaranteed to be received (slippage protection)."},"minReceiveAmountUsd":{"type":"number","description":"USD equivalent value of the minimum receive amount."},"usdPriceTokenIn":{"type":"number","description":"USD price of the input token at the time of quote."},"usdPriceTokenOut":{"type":"number","description":"USD price of the output token at the time of quote."},"isAtomicSwap":{"type":"boolean","description":"Whether this is an atomic swap operation (optional)."},"_tag":{"type":"string","enum":["bridgeSwap"]}},"additionalProperties":false},"GasBoostGreaterThanReceiveAmount":{"type":"object","required":["amountNativeTokenCost","receiveAmount","_tag"],"properties":{"amountNativeTokenCost":{"type":"string"},"receiveAmount":{"type":"string"},"_tag":{"type":"string","enum":["GasBoostGreaterThanReceiveAmount"]}},"additionalProperties":false},"NegativeReceiveAmount":{"type":"object","required":["receiveAmount","_tag"],"properties":{"receiveAmount":{"type":"string"},"_tag":{"type":"string","enum":["NegativeReceiveAmount"]}},"additionalProperties":false},"NoCommonBridgeTokensError":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["NoCommonBridgeTokensError"]}},"additionalProperties":false},"NoBridgeTokenFoundError":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["NoBridgeTokenFoundError"]}},"additionalProperties":false},"SameChainSwapNotAvailable":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["SameChainSwapNotAvailable"]}},"additionalProperties":false},"NoRouteFoundError":{"type":"object","required":["tokenIn","tokenOut","chainIn","chainOut","_tag"],"properties":{"tokenIn":{"type":"string"},"tokenOut":{"type":"string"},"chainIn":{"type":"string"},"chainOut":{"type":"string"},"_tag":{"type":"string","enum":["NoRouteFoundError"]}},"additionalProperties":false},"ExtendedPostBridgeData":{"type":"object","required":["_tag","vaultId"],"properties":{"_tag":{"type":"string","enum":["extended"]},"vaultId":{"$ref":"#/components/schemas/NonNegative","description":"A variable relating to the specific post bridge action.","title":"int","type":"integer"}},"additionalProperties":false},"NonNegative":{"type":"number","description":"a non-negative number","title":"nonNegative","minimum":0},"StarkwareBtcfiCampaignPostBridgeData":{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["starkwarebtcfi"]}},"additionalProperties":false},"WirexWrapPostBridgeData":{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["wirexwrap"]}},"additionalProperties":false},"WirexWrapSandboxPostBridgeData":{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["wirexwrapsandbox"]}},"additionalProperties":false},"StarkwareBtcfiCampaignV2PostBridgeData":{"type":"object","required":["_tag","spans"],"properties":{"_tag":{"type":"string","enum":["starkwarebtcfiv2"]},"spans":{"type":"array","items":{"$ref":"#/components/schemas/StarknetFelt"},"description":"A variable relating to the specific post bridge action.","title":"maxItems(70)","maxItems":70}},"additionalProperties":false},"StarknetFelt":{"type":"string","description":"a string that will be trimmed"},"AaveV3SupplyPostBridgeData":{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["aavev3supply"]}},"additionalProperties":false},"RocketFoundationDepositPostBridgeData":{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["rocketfoundationdeposit"]}},"additionalProperties":false},"MapleDepositPostBridgeData":{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["mapledeposit"]}},"additionalProperties":false},"EtherfiDepositPostBridgeData":{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["etherfideposit"]}},"additionalProperties":false},"ConnectedSingleBridgeQuoteResponseSchema":{"type":"object","required":["_tag","chainIn","chainOut","payAmount","payAmountUsd","receiveAmount","receiveAmountUsd","fees","token","depositor","recipient","expiresAt","quoteId","flowCredits"],"properties":{"_tag":{"type":"string","enum":["bridge"]},"chainIn":{"type":"string","description":"The blockchain that the tokens will be bridged from, e.g. \"ETHEREUM\"."},"chainOut":{"type":"string","description":"The blockchain that the tokens will be bridged to, e.g. \"AVALANCHE\"."},"payAmount":{"type":"string","description":"The value of the tokens that will be sent on the chainIn, denominated in the token as a human-readable decimal amount (e.g. \"1.5\"), not the smallest unit / wei."},"payAmountUsd":{"type":"number","description":"The USD value of the tokens that will be sent on the chainIn."},"receiveAmount":{"type":"string","description":"The value of the tokens that will be sent on the chainOut, denominated in the token as a human-readable decimal amount (e.g. \"1.5\"), not the smallest unit / wei."},"receiveAmountUsd":{"type":"number","description":"The USD value of the tokens that will be sent on the chainOut."},"fees":{"type":"object","required":["fee","feeUsd","gasFee","gasFeeUsd","sourceGasFee","sourceGasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","percentageFeeAmount","percentageFeeThreshold"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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."},"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."},"platformFee":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"percentageFeeAmount":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"Represents the %-based Client Surcharge which has been applied, based on percentageFeeThreshold. E.g. where there is a Client Surcharge of 0.5% for a transaction up to $1,000 and 0.2% up to $10,000, if the transaction amount is $500 then this percentageFeeAmount will be 0.05."},"percentageFeeThreshold":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"Represents the lower bound of any threshold-based setup which the percentageFee is being applied for. E.g. where there is a Client Surcharge of 0.5% for a transaction up to $1,000 and 0.2% up to $10,000, if the transaction amount is $500 then this percentageFeeThreshold will be 0."},"sponsoredFees":{"type":"object","required":["fee","feeUsd","gasFee","gasFeeUsd","sourceGasFee","sourceGasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction in token units."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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."},"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."},"platformFee":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."}},"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."}},"additionalProperties":false,"description":"Contains information about the fee structure of the transaction. The fields should be read differently depending on whether the client is a \"legacy\" or \"PAYG/subscription tier\" client."},"promotion":{"type":"object","required":["name","maxLimitUsd"],"properties":{"name":{"type":"string","description":"The name of the promotion applied to this quote."},"maxLimitUsd":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The maximum USD value of a transaction that this promotion applies to. Null where the promotion has no upper limit."}},"additionalProperties":false,"description":"Promotion details if applicable (optional)."},"gasBoost":{"type":"object","required":["amountNative","amountNativeUsd","amountNativeTokenCost"],"properties":{"amountNative":{"type":"string","description":"The amount of native gas token (e.g. ETH, MATIC, BNB) that will be delivered to the user's wallet on the destination chain."},"amountNativeUsd":{"type":"number","description":"The estimated value, in USD, of the amountNative."},"amountNativeTokenCost":{"type":"string","description":"The cost applied by Rhino.fi for enabling this Gas Boost functionality. This will be deducted from the tokens on the chainOut."}},"additionalProperties":false,"description":"Functionality provided by Rhino.fi to deliver a small amount of native gas token to the destination address, ensuring that further transactions from this address can be made immediately."},"speed":{"type":"string","enum":["fast","standard","slow"],"description":"Provides information about whether the transaction should 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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"token":{"type":"string","description":"The asset that will be received on the chainOut."},"depositor":{"type":"string","description":"The address on the chainIn that will be sending the tokens for bridging, e.g. \"0x1234...Abc\"."},"recipient":{"type":"string","description":"The address on the chainOut that will be receiving the bridged tokens, e.g. \"0x1234...Abc\"."},"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 specific clients, 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."},"webhookUrl":{"type":"string","description":"A URL that success or failure events related to this bridging transaction should be sent to, e.g. \"https://client.com/rhino-webhook\"."},"expiresAt":{"type":"string","description":"The datetime that the quote is valid until. After this time it will fail if submitted through the `POST /quote/commit/{quoteId}` endpoint."},"quoteId":{"type":"string","description":"The unique identifier of this quote. Submit this in the `POST /quote/commit/{quoteId}` endpoint to commit the quote."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."}},"additionalProperties":false},"ConnectedBridgeSwapQuoteResponseSchema":{"type":"object","required":["_tag","chainIn","chainOut","payAmount","payAmountUsd","receiveAmount","receiveAmountUsd","fees","tokenIn","tokenOut","bridgeToken","bridgePayAmount","bridgePayAmountUsd","bridgeReceiveAmount","minReceiveAmount","minReceiveAmountUsd","usdPriceTokenIn","usdPriceTokenOut","depositor","recipient","expiresAt","quoteId","flowCredits"],"properties":{"_tag":{"type":"string","enum":["bridgeSwap"]},"chainIn":{"type":"string","description":"The blockchain that the tokens will be bridged from, e.g. \"ETHEREUM\"."},"chainOut":{"type":"string","description":"The blockchain that the tokens will be bridged to, e.g. \"AVALANCHE\"."},"payAmount":{"type":"string","description":"The value of the tokens that will be sent on the chainIn, denominated in the token as a human-readable decimal amount (e.g. \"1.5\"), not the smallest unit / wei."},"payAmountUsd":{"type":"number","description":"The USD value of the tokens that will be sent on the chainIn."},"receiveAmount":{"type":"string","description":"The value of the tokens that will be sent on the chainOut, denominated in the token as a human-readable decimal amount (e.g. \"1.5\"), not the smallest unit / wei."},"receiveAmountUsd":{"type":"number","description":"The USD value of the tokens that will be sent on the chainOut."},"fees":{"type":"object","required":["fee","feeUsd","gasFee","gasFeeUsd","sourceGasFee","sourceGasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","percentageFeeAmount","percentageFeeThreshold"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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."},"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."},"platformFee":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"percentageFeeAmount":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"Represents the %-based Client Surcharge which has been applied, based on percentageFeeThreshold. E.g. where there is a Client Surcharge of 0.5% for a transaction up to $1,000 and 0.2% up to $10,000, if the transaction amount is $500 then this percentageFeeAmount will be 0.05."},"percentageFeeThreshold":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"Represents the lower bound of any threshold-based setup which the percentageFee is being applied for. E.g. where there is a Client Surcharge of 0.5% for a transaction up to $1,000 and 0.2% up to $10,000, if the transaction amount is $500 then this percentageFeeThreshold will be 0."},"sponsoredFees":{"type":"object","required":["fee","feeUsd","gasFee","gasFeeUsd","sourceGasFee","sourceGasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction in token units."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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."},"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."},"platformFee":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."}},"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."}},"additionalProperties":false,"description":"Contains information about the fee structure of the transaction. The fields should be read differently depending on whether the client is a \"legacy\" or \"PAYG/subscription tier\" client."},"promotion":{"type":"object","required":["name","maxLimitUsd"],"properties":{"name":{"type":"string","description":"The name of the promotion applied to this quote."},"maxLimitUsd":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The maximum USD value of a transaction that this promotion applies to. Null where the promotion has no upper limit."}},"additionalProperties":false,"description":"Promotion details if applicable (optional)."},"gasBoost":{"type":"object","required":["amountNative","amountNativeUsd","amountNativeTokenCost"],"properties":{"amountNative":{"type":"string","description":"The amount of native gas token (e.g. ETH, MATIC, BNB) that will be delivered to the user's wallet on the destination chain."},"amountNativeUsd":{"type":"number","description":"The estimated value, in USD, of the amountNative."},"amountNativeTokenCost":{"type":"string","description":"The cost applied by Rhino.fi for enabling this Gas Boost functionality. This will be deducted from the tokens on the chainOut."}},"additionalProperties":false,"description":"Functionality provided by Rhino.fi to deliver a small amount of native gas token to the destination address, ensuring that further transactions from this address can be made immediately."},"speed":{"type":"string","enum":["fast","standard","slow"],"description":"Provides information about whether the transaction should 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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"tokenIn":{"type":"string","description":"Token symbol or identifier being sent from the source chain."},"tokenOut":{"type":"string","description":"Token symbol or identifier being received on the destination chain."},"bridgeToken":{"type":"string","description":"Intermediate token used for the bridge operation."},"bridgePayAmount":{"type":"string","description":"Amount of bridge token that will be used in the bridge transaction."},"bridgePayAmountUsd":{"type":"number","description":"USD equivalent value of the bridge pay amount."},"bridgeReceiveAmount":{"type":"string","description":"Amount of bridge token expected to be received after bridging."},"minReceiveAmount":{"type":"string","description":"Minimum amount of tokenOut guaranteed to be received (slippage protection)."},"minReceiveAmountUsd":{"type":"number","description":"USD equivalent value of the minimum receive amount."},"usdPriceTokenIn":{"type":"number","description":"USD price of the input token at the time of quote."},"usdPriceTokenOut":{"type":"number","description":"USD price of the output token at the time of quote."},"isAtomicSwap":{"type":"boolean","description":"Whether this is an atomic swap operation (optional)."},"depositor":{"type":"string","description":"The address on the chainIn that will be sending the tokens for bridging, e.g. \"0x1234...Abc\"."},"recipient":{"type":"string","description":"The address on the chainOut that will be receiving the bridged tokens, e.g. \"0x1234...Abc\"."},"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 specific clients, 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."},"webhookUrl":{"type":"string","description":"A URL that success or failure events related to this bridging transaction should be sent to, e.g. \"https://client.com/rhino-webhook\"."},"expiresAt":{"type":"string","description":"The datetime that the quote is valid until. After this time it will fail if submitted through the `POST /quote/commit/{quoteId}` endpoint."},"quoteId":{"type":"string","description":"The unique identifier of this quote. Submit this in the `POST /quote/commit/{quoteId}` endpoint to commit the quote."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."}},"additionalProperties":false},"ConnectedDepositAddressBridgeQuoteResponseSchema":{"type":"object","required":["_tag","chainIn","chainOut","payAmount","payAmountUsd","receiveAmount","receiveAmountUsd","fees","token","depositor","recipient","expiresAt","quoteId","flowCredits"],"properties":{"_tag":{"type":"string","enum":["depositAddressBridge"]},"chainIn":{"type":"string","description":"The blockchain that the tokens will be bridged from, e.g. \"ETHEREUM\"."},"chainOut":{"type":"string","description":"The blockchain that the tokens will be bridged to, e.g. \"AVALANCHE\"."},"payAmount":{"type":"string","description":"The value of the tokens that will be sent on the chainIn, denominated in the token as a human-readable decimal amount (e.g. \"1.5\"), not the smallest unit / wei."},"payAmountUsd":{"type":"number","description":"The USD value of the tokens that will be sent on the chainIn."},"receiveAmount":{"type":"string","description":"The value of the tokens that will be sent on the chainOut, denominated in the token as a human-readable decimal amount (e.g. \"1.5\"), not the smallest unit / wei."},"receiveAmountUsd":{"type":"number","description":"The USD value of the tokens that will be sent on the chainOut."},"fees":{"type":"object","required":["fee","feeUsd","gasFee","gasFeeUsd","sourceGasFee","sourceGasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd","percentageFeeAmount","percentageFeeThreshold"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction as paid by the end customer, denominated in the token."},"feeUsd":{"type":"number","description":"The total cost, in USD, of the transaction."},"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."},"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."},"platformFee":{"type":"string","description":"The resulting fee charged from the $-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"The resulting fee charged from the %-based Client Surcharge. This is applicable to both legacy and PAYG/Subscription clients. For legacy clients this is deducted from the tokens sent on the chainOut and will be sent to the client at month end. For PAYG/Subscription clients this will be rebated at month end."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."},"percentageFeeAmount":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"Represents the %-based Client Surcharge which has been applied, based on percentageFeeThreshold. E.g. where there is a Client Surcharge of 0.5% for a transaction up to $1,000 and 0.2% up to $10,000, if the transaction amount is $500 then this percentageFeeAmount will be 0.05."},"percentageFeeThreshold":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"Represents the lower bound of any threshold-based setup which the percentageFee is being applied for. E.g. where there is a Client Surcharge of 0.5% for a transaction up to $1,000 and 0.2% up to $10,000, if the transaction amount is $500 then this percentageFeeThreshold will be 0."},"sponsoredFees":{"type":"object","required":["fee","feeUsd","gasFee","gasFeeUsd","sourceGasFee","sourceGasFeeUsd","platformFee","platformFeeUsd","percentageFee","percentageFeeUsd"],"properties":{"fee":{"type":"string","description":"The total cost of the transaction in token units."},"feeUsd":{"type":"number","description":"The total cost of the transaction, in USD."},"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."},"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."},"platformFee":{"type":"string","description":"The value of any additional fee levied on top by Rhino.fi and paid by the client. This is only relevant for legacy clients."},"platformFeeUsd":{"type":"number","description":"The platformFee value, in USD."},"percentageFee":{"type":"string","description":"Will be zero since this represents a charge levied on the end customer by the client. To understand the value charged to the end customer, the percentageFee value from the main fee body should be used. N.B. for PAYG/Subscription clients this is now referred to as the \"Client Surcharge\"."},"percentageFeeUsd":{"type":"number","description":"The percentageFee value, in USD."}},"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."}},"additionalProperties":false,"description":"Contains information about the fee structure of the transaction. The fields should be read differently depending on whether the client is a \"legacy\" or \"PAYG/subscription tier\" client."},"promotion":{"type":"object","required":["name","maxLimitUsd"],"properties":{"name":{"type":"string","description":"The name of the promotion applied to this quote."},"maxLimitUsd":{"anyOf":[{"$ref":"#/components/schemas/BigDecimalFromNumber"},{"type":"null"}],"description":"The maximum USD value of a transaction that this promotion applies to. Null where the promotion has no upper limit."}},"additionalProperties":false,"description":"Promotion details if applicable (optional)."},"gasBoost":{"type":"object","required":["amountNative","amountNativeUsd","amountNativeTokenCost"],"properties":{"amountNative":{"type":"string","description":"The amount of native gas token (e.g. ETH, MATIC, BNB) that will be delivered to the user's wallet on the destination chain."},"amountNativeUsd":{"type":"number","description":"The estimated value, in USD, of the amountNative."},"amountNativeTokenCost":{"type":"string","description":"The cost applied by Rhino.fi for enabling this Gas Boost functionality. This will be deducted from the tokens on the chainOut."}},"additionalProperties":false,"description":"Functionality provided by Rhino.fi to deliver a small amount of native gas token to the destination address, ensuring that further transactions from this address can be made immediately."},"speed":{"type":"string","enum":["fast","standard","slow"],"description":"Provides information about whether the transaction should 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":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds.","title":"nonNegative","minimum":0},"token":{"type":"string","description":"The asset that will be received on the chainOut."},"depositor":{"type":"string","description":"The address on the chainIn that will be sending the tokens for bridging, e.g. \"0x1234...Abc\"."},"recipient":{"type":"string","description":"The address on the chainOut that will be receiving the bridged tokens, e.g. \"0x1234...Abc\"."},"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 specific clients, 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."},"webhookUrl":{"type":"string","description":"A URL that success or failure events related to this bridging transaction should be sent to, e.g. \"https://client.com/rhino-webhook\"."},"expiresAt":{"type":"string","description":"The datetime that the quote is valid until. After this time it will fail if submitted through the `POST /quote/commit/{quoteId}` endpoint."},"quoteId":{"type":"string","description":"The unique identifier of this quote. Submit this in the `POST /quote/commit/{quoteId}` endpoint to commit the quote."},"flowCredits":{"type":"number","description":"The number of Flow Credits that this transaction will use from the client's agreed Rhino.fi PAYG/Subscription tier."}},"additionalProperties":false},"WithdrawLimitReached":{"type":"object","required":["token","chain","receiveAmount","maxWithdrawAmount","_tag"],"properties":{"token":{"type":"string"},"chain":{"type":"string"},"receiveAmount":{"$ref":"#/components/schemas/BigDecimal"},"maxWithdrawAmount":{"$ref":"#/components/schemas/BigDecimal"},"_tag":{"type":"string","enum":["WithdrawLimitReached"]}},"additionalProperties":false},"BigDecimal":{"type":"string","description":"a string to be decoded into a BigDecimal"},"DepositLimitReached":{"type":"object","required":["token","chain","payAmount","maxDepositAmount","_tag"],"properties":{"token":{"type":"string"},"chain":{"type":"string"},"payAmount":{"$ref":"#/components/schemas/BigDecimal"},"maxDepositAmount":{"$ref":"#/components/schemas/BigDecimal"},"payAmountUsd":{"$ref":"#/components/schemas/BigDecimal"},"maxDepositAmountUsd":{"$ref":"#/components/schemas/BigDecimal"},"_tag":{"type":"string","enum":["DepositLimitReached"]}},"additionalProperties":false},"SwapLimitReached":{"type":"object","required":["market","message","_tag"],"properties":{"market":{"$ref":"#/components/schemas/NonEmptyString"},"message":{"$ref":"#/components/schemas/NonEmptyString"},"_tag":{"type":"string","enum":["SwapLimitReached"]}},"additionalProperties":false},"NonEmptyString":{"type":"string","description":"a non empty string","title":"nonEmptyString","minLength":1},"SdaDepositLimitExceeded":{"type":"object","required":["token","chainIn","chainOut","payAmountUsd","maxDepositAmountUsd","_tag"],"properties":{"token":{"type":"string"},"chainIn":{"type":"string"},"chainOut":{"type":"string"},"payAmountUsd":{"$ref":"#/components/schemas/BigDecimal"},"maxDepositAmountUsd":{"$ref":"#/components/schemas/BigDecimal"},"_tag":{"type":"string","enum":["SdaDepositLimitExceeded"]}},"additionalProperties":false},"SdaDepositBelowMinimum":{"type":"object","required":["token","chainIn","chainOut","payAmountUsd","minDepositAmountUsd","_tag"],"properties":{"token":{"type":"string"},"chainIn":{"type":"string"},"chainOut":{"type":"string"},"payAmountUsd":{"$ref":"#/components/schemas/BigDecimal"},"minDepositAmountUsd":{"$ref":"#/components/schemas/BigDecimal"},"_tag":{"type":"string","enum":["SdaDepositBelowMinimum"]}},"additionalProperties":false},"BridgeSwapLimitsResponseSchema":{"type":"object","required":["limits"],"properties":{"limits":{"type":"array","items":{"type":"object","required":["speed","maxDepositAmount","maxDepositAmountUsd","estimatedDuration"],"properties":{"speed":{"type":"string","enum":["fast","standard","slow"],"description":"Provides information about whether the transaction should 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."},"maxDepositAmount":{"type":"string","description":"The maximum amount of that token that can be deposited into an SDA or bridged with Rhino.fi for this settlement speed, e.g. \"125000.5\"."},"maxDepositAmountUsd":{"type":"string","description":"The maximum amount of the token, represented in USD, that can be deposited into an SDA or bridged with Rhino.fi for this settlement speed, e.g. \"125000.5\"."},"estimatedDuration":{"type":"number","description":"The estimated time for the transaction to complete in milliseconds, e.g. 90000.","title":"nonNegative","minimum":0}},"additionalProperties":false},"description":"Cumulative limit levels sorted by ascending amount and duration. The values are advisory and reflect current liquidity. The quote endpoints remain the source of truth."}},"additionalProperties":false},"BridgeConfigEntrySchema":{"type":"object","required":["name","type","networkId","contractAddress","confirmationBlocks","avgBlockTime","nativeTokenName","nativeTokenDecimals","nativeTokenSafeguard","blockExplorer","rpc","site","status","tokens","gasBoostEnabled","enabledDepositAddress"],"properties":{"name":{"type":"string","description":"Human-readable name of the blockchain network."},"type":{"type":"string","enum":["EVM","SOL","STK","TON","TRON","CEX","KARNOT","STELLAR","FLASH"],"description":"Type of the blockchain network (e.g., \"EVM\", \"STK\")."},"networkId":{"type":"string","description":"The name of the blockchain, to be used as chainIn and chainOut in the bridging and swapping endpoints, and as depositChain and destinationChain in the SDA endpoints."},"contractAddress":{"type":"string","description":"The address of the Rhino.fi bridge contract on this blockchain."},"multicallContractAddress":{"type":"string","description":"Address of the multicall contract for batching calls."},"confirmationBlocks":{"type":"number","description":"Number of blocks required for transaction confirmation."},"avgBlockTime":{"type":"number","description":"Average time in seconds between blocks on this network."},"nativeTokenName":{"type":"string","description":"The name of the native token on the network (e.g., \"ETH\", \"STRK\")."},"nativeTokenDecimals":{"type":"number","description":"Number of decimal places for the native token."},"nativeTokenSafeguard":{"type":"number","description":"Minimum amount of native token to keep as safeguard."},"gasMultiplier":{"type":"number","description":"The multiplier applied to gas estimates for safety."},"blockExplorer":{"type":"string","description":"URL of the block explorer for this network."},"rpc":{"type":"string","description":"RPC endpoint URL for connecting to the network."},"site":{"type":"string","description":"Official website URL for the network."},"status":{"type":"string","enum":["enabled","disabled"],"description":"The current status of the network integration; either \"enabled\" or \"disabled\"."},"statusReason":{"type":"string","description":"The reason for the current status if disabled."},"tokens":{"type":"object","required":[],"properties":{},"additionalProperties":{"$ref":"#/components/schemas/BridgeTokenEntry"},"description":"The list of tokens supported by Rhino.fi for this chain."},"badge":{"allOf":[{"$ref":"#/components/schemas/BridgeBadge"}],"description":"Visual badge/category for the network (optional)."},"category":{"type":"string","enum":["experimental","popular"],"description":"Category classification of the network (optional)."},"paradexSignerChainId":{"type":"string","description":"ChainId for the Paradex chain's signature (optional)."},"gasBoostEnabled":{"type":"boolean","description":"Whether gas boost is enabled for this network."},"enabledDepositAddress":{"type":"boolean","description":"Whether smart deposit addresses are enabled for this network."},"sameChainSwapsAddress":{"type":"string","description":"The address for same-chain swap functionality."},"executionChain":{"type":"string","description":"Identifier for the execution chain if different from main chain (optional)."}},"additionalProperties":false},"BridgeTokenEntry":{"type":"object","required":["token","address","decimals"],"properties":{"token":{"type":"string","description":"The ticker for the token."},"address":{"type":"string","description":"The contract address of the token on this chain."},"decimals":{"$ref":"#/components/schemas/Int","description":"The number of decimal places for the token.","title":"between(0, 18)","minimum":0,"maximum":18},"maxDepositLimit":{"type":"number","description":"The maximum amount of that token that can be deposited into an SDA or bridged."},"maxWithdrawLimit":{"type":"number","description":"The maximum amount of that token that can be withdrawn from an SDA or bridged."},"minAmountUsdInContract":{"type":"number","description":"The minimum USD value of this token that Rhino.fi holds in the contract on this chain."},"allowedRouteChains":{"type":"array","items":{"type":"string"},"description":"Whitelist of chains this token may be sent to / received from. If present on either side of a route, the other chain must be on the list. If absent, all chains are allowed."},"aliasFor":{"type":"string","description":"The token this one is an alternative deployment of. Deposits of it are swapped to that token rather than bridged as themselves."}},"additionalProperties":false},"Int":{"type":"integer","description":"an integer","title":"int"},"BridgeBadge":{"type":"object","required":["type","translationKey"],"properties":{"type":{"type":"string","enum":["new","hot","campaign","achievement","free","airdrop","optimistic","launch"]},"translationKey":{"type":"string","enum":["airdrop","free_gas","memes","hot","new"]}},"additionalProperties":false},"ExtendedTokenEntry":{"type":"object","required":["decimals","coingeckoId","token","address","chain"],"properties":{"decimals":{"type":"number","description":"The number of decimal places for the token."},"coingeckoId":{"type":"string","description":"API ID of the token within the CoinGecko listing page."},"isHiddenPublicly":{"type":"boolean","enum":[true]},"aliasFor":{"type":"string"},"maxDepositLimit":{"type":"number","description":"The maximum amount of that token that can be deposited into an SDA or bridged with Rhino.fi."},"maxWithdrawLimit":{"type":"number","description":"The maximum amount of that token that can be withdrawn from an SDA or bridged with Rhino.fi."},"minAmountUsdInContract":{"type":"number","description":"Minimum USD amount required in the contract for this token on this chain."},"allowedRouteChains":{"type":"array","items":{"type":"string"},"description":"Whitelist of chains this token may be sent to / received from on this chain. If absent, all chains are allowed."},"token":{"type":"string","description":"The identifier for the token."},"address":{"type":"string","description":"The contract address for the token on the given chain."},"chain":{"type":"string","description":"The name of the chain."}},"additionalProperties":false},"InvalidTokenForChain":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["InvalidTokenForChain"]}},"additionalProperties":false},"InvalidToken":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["InvalidToken"]}},"additionalProperties":false},"TokenConfigResponseSchema":{"type":"object","required":["chain","tokenAddress","name","symbol","decimals","iconUrl","aggregators","status"],"properties":{"chain":{"type":"string","description":"The name of the blockchain, to be used as chainIn and chainOut in other endpoints.","pattern":"^[A-Z0-9_]{1,32}$"},"tokenAddress":{"allOf":[{"$ref":"#/components/schemas/Trim"}],"description":"The contract address for the token on the given chain."},"name":{"type":"string","description":"Human-readable name of the token."},"symbol":{"type":"string","description":"The identifier of the token on the given chain.","pattern":"^[a-zA-Z0-9._+\\u20AE-]{1,32}$"},"decimals":{"type":"number","description":"The number of decimals the token has.","title":"finite"},"iconUrl":{"type":"string","description":"URL to the token icon image."},"aggregators":{"type":"array","items":{"$comment":"/schemas/enums","anyOf":[{"type":"string","title":"KYBERSWAP","enum":["KYBERSWAP"]},{"type":"string","title":"RHINO","enum":["RHINO"]},{"type":"string","title":"ONEINCH","enum":["ONEINCH"]},{"type":"string","title":"BEBOP","enum":["BEBOP"]}]},"description":"List of swap aggregators that support this token."},"status":{"$ref":"#/components/schemas/StatusSchema"},"coingeckoId":{"type":"string","description":"CoinGecko identifier for price data (optional)."},"marketCap":{"allOf":[{"$ref":"#/components/schemas/JsonNumber"}],"description":"Market capitalization in USD (optional)."},"inactive":{"type":"boolean","description":"Whether the token is currently inactive (optional)."}},"additionalProperties":false},"Trim":{"type":"string","description":"a string that will be trimmed"},"StatusSchema":{"type":"object","required":["state","reason"],"properties":{"state":{"$comment":"/schemas/enums","anyOf":[{"type":"string","title":"PENDING_REVIEW","enum":["PENDING_REVIEW"]},{"type":"string","title":"LISTED","enum":["LISTED"]},{"type":"string","title":"NOT_LISTED","enum":["NOT_LISTED"]},{"type":"string","title":"BLACKLISTED","enum":["BLACKLISTED"]},{"type":"string","title":"DELISTED","enum":["DELISTED"]}],"description":"The current support status for the token. LISTED indicates the token is available for clients to use via Rhino.fi; PENDING_REVIEW, NOT_LISTED, BLACKLISTED and DELISTED indicate the token is not available for clients to use via Rhino.fi."},"reason":{"type":"array","items":{"$comment":"/schemas/enums","anyOf":[{"type":"string","title":"MANUAL","enum":["MANUAL"]},{"type":"string","title":"CONFIG_SYNC","enum":["CONFIG_SYNC"]},{"type":"string","title":"LISTED_FOR_OTHER_CHAIN","enum":["LISTED_FOR_OTHER_CHAIN"]},{"type":"string","title":"INVALID_DECIMALS","enum":["INVALID_DECIMALS"]},{"type":"string","title":"UNKNOWN_QUANTIZATION","enum":["UNKNOWN_QUANTIZATION"]},{"type":"string","title":"NO_MARKET_CAP","enum":["NO_MARKET_CAP"]},{"type":"string","title":"NO_LIQUIDITY","enum":["NO_LIQUIDITY"]},{"type":"string","title":"CATEGORY_BLACKLIST","enum":["CATEGORY_BLACKLIST"]},{"type":"string","title":"NO_COINGECKO_DATA","enum":["NO_COINGECKO_DATA"]}]},"description":"Reasons for the current status state."}},"additionalProperties":false,"description":"The current support status by Rhino.fi for this token."},"JsonNumber":{"type":"number","description":"a finite number","title":"finite"},"BigDecimalFromString":{"type":"string","description":"a string to be decoded into a BigDecimal"},"SwapQuote":{"type":"object","required":["tokenIn","tokenOut","amountIn","amountInUsd","amountOut","amountOutUsd","minAmountOut","minAmountOutUsd","aggregator"],"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":{"$comment":"/schemas/enums","anyOf":[{"type":"string","title":"KYBERSWAP","enum":["KYBERSWAP"]},{"type":"string","title":"RHINO","enum":["RHINO"]},{"type":"string","title":"ONEINCH","enum":["ONEINCH"]},{"type":"string","title":"BEBOP","enum":["BEBOP"]}],"description":"The swap aggregator used to execute the swap."}},"additionalProperties":false,"description":"Details of the swap performed on the chainIn before bridging, where one was required."},"PaymentIntentId":{"type":"string","description":"Identifier of the payment intent a payment deposit address settles.","title":"nonEmptyString","minLength":1},"HistoryNotFound":{"type":"object","required":["_id","_tag"],"properties":{"_id":{"type":"string"},"_tag":{"type":"string","enum":["HistoryNotFound"]}},"additionalProperties":false},"BridgeNotFound":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["BridgeNotFound"]}},"additionalProperties":false},"CannotCancelBridge":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["CannotCancelBridge"]}},"additionalProperties":false},"SwapCalldataResponse":{"type":"object","required":["calldata"],"properties":{"calldata":{"type":"string","description":"The calldata for executing a swap transaction, in hex format."}},"additionalProperties":false},"CommitmentNotFoundError":{"type":"object","required":["_id","_tag"],"properties":{"_id":{"type":"string"},"_tag":{"type":"string","enum":["CommitmentNotFoundError"]}},"additionalProperties":false},"TokenNotFoundError":{"type":"object","required":["chain","symbol","_tag"],"properties":{"chain":{"type":"string"},"symbol":{"type":"string"},"_tag":{"type":"string","enum":["TokenNotFoundError"]}},"additionalProperties":false},"InvalidCommitmentTypeError":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string"},"_tag":{"type":"string","enum":["InvalidCommitmentTypeError"]}},"additionalProperties":false}},"securitySchemes":{"bearer":{"description":"JWT token for authentication","type":"http","scheme":"bearer"},"legacyApiKey":{"type":"apiKey","name":"authorization","in":"header"}}},"security":[],"tags":[{"name":"quote"},{"name":"configs"},{"name":"history"},{"name":"swap"}],"servers":[{"url":"https://api.rhino.fi/bridge"}]}