Public Quote for Bridge & Swap
Fetch public bridge and swap quote.
Query Parameters
The blockchain that the tokens will be bridged from, e.g. "ETHEREUM".
The blockchain that the tokens will be bridged to, e.g. "AVALANCHE".
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".
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".
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.
pay, receive 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.
true, false The token that is to be sent on the chainIn, e.g. "USDT".
The token that is to be received on the chainOut, e.g. "USDT".
Response
SingleBridgePublicQuoteResponseSchema
- Option 1
- Option 2
The blockchain that the tokens will be bridged from, e.g. "ETHEREUM".
The blockchain that the tokens will be bridged to, e.g. "AVALANCHE".
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.
The USD value of the tokens that will be sent on the chainIn.
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.
The USD value of the tokens that will be sent on the chainOut.
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.
The asset that will be received on the chainOut.
bridge Promotion details if applicable (optional).
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.
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.
fast, standard, slow The estimated time for the transaction to complete in milliseconds.
x >= 0