GET
/
quote
/
public
curl --request GET \
  --url https://api.rhino.fi/bridge/quote/public
{
  "token": "<string>",
  "chainIn": "<string>",
  "chainOut": "<string>",
  "payAmount": "<string>",
  "payAmountUsd": 123,
  "receiveAmount": "<string>",
  "receiveAmountUsd": 123,
  "fees": {
    "fee": "<string>",
    "feeUsd": 123,
    "gasFee": "<string>",
    "gasFeeUsd": 123,
    "platformFee": "<string>",
    "platformFeeUsd": 123,
    "percentageFee": "<string>",
    "percentageFeeUsd": 123,
    "percentageFeeAmount": 123,
    "percentageFeeThreshold": 123
  },
  "promotion": {
    "name": "<string>",
    "maxLimitUsd": 123
  },
  "gasBoost": {
    "amountNative": "<string>",
    "amountNativeUsd": 123,
    "amountNativeTokenCost": "<string>"
  }
}

Query Parameters

token
string
required
chainIn
string
required
chainOut
string
required
amount
string
required

a string that will be parsed into a BigDecimal

amountNative
string

a string that will be parsed into a BigDecimal

mode
enum<string>
required
Available options:
pay,
receive

Response

200
application/json
Success
token
string
required
chainIn
string
required
chainOut
string
required
payAmount
string
required

a string that will be parsed into a BigDecimal

payAmountUsd
number
required

a number that will be parsed into a BigDecimal

receiveAmount
string
required

a string that will be parsed into a BigDecimal

receiveAmountUsd
number
required

a number that will be parsed into a BigDecimal

fees
object
required
promotion
object
gasBoost
object