POST
/
quote
/
user
curl --request POST \
  --url https://api.rhino.fi/bridge/quote/user \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{
  "token": "<string>",
  "chainIn": "<string>",
  "chainOut": "<string>",
  "amount": "<string>",
  "amountNative": "<string>",
  "mode": "pay",
  "depositor": "<string>",
  "recipient": "<string>"
}'
{
  "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>"
  },
  "depositor": "<string>",
  "recipient": "<string>",
  "expiresAt": "<string>",
  "quoteId": "<string>"
}

Authorizations

authorization
string
header
required

Body

application/json
token
string
required
chainIn
string
required
chainOut
string
required
amount
string
required

a string that will be parsed into a BigDecimal

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

a string that will be parsed into a BigDecimal

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
depositor
string
required
recipient
string
required
expiresAt
string
required

a string that will be parsed into a Date

quoteId
string
required
promotion
object
gasBoost
object