quote
User Quote for Bridge & Swap
Fetch bridge and swap user quote when authenticated.
POST
/
quote
/
bridge-swap
/
user
curl --request POST \
--url https://api.rhino.fi/bridge/quote/bridge-swap/user \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"chainIn": "<string>",
"chainOut": "<string>",
"amount": "<string>",
"amountNative": "<string>",
"mode": "pay",
"tokenIn": "<string>",
"tokenOut": "<string>",
"depositor": "<string>",
"recipient": "<string>"
}'
{
"_tag": "bridge",
"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>"
},
"token": "<string>",
"depositor": "<string>",
"recipient": "<string>",
"expiresAt": "<string>",
"quoteId": "<string>"
}
Authorizations
Body
application/json
Response
200
application/json
ConnectedSingleBridgeQuoteResponseSchema
The response is of type object
.
The response is of type object
.
The response is of type object
.
curl --request POST \
--url https://api.rhino.fi/bridge/quote/bridge-swap/user \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"chainIn": "<string>",
"chainOut": "<string>",
"amount": "<string>",
"amountNative": "<string>",
"mode": "pay",
"tokenIn": "<string>",
"tokenOut": "<string>",
"depositor": "<string>",
"recipient": "<string>"
}'
{
"_tag": "bridge",
"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>"
},
"token": "<string>",
"depositor": "<string>",
"recipient": "<string>",
"expiresAt": "<string>",
"quoteId": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.