curl --request POST \
--url https://api.roissingue.com/v1/quote \
--header 'Content-Type: application/json' \
--data '
{
"fromToken": {
"chainId": 8453,
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "100000000"
},
"toToken": {
"slug": "circle-usd"
},
"feeToken": {
"chainId": 8453,
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"fromAddress": "0x6eBf2153f931334714984c7F5a8E574207927Cc7",
"toAddress": "0x6eBf2153f931334714984c7F5a8E574207927Cc7",
"slippage": 0.01
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}API Reference
Get a quote
POST
/
v1
/
quote
curl --request POST \
--url https://api.roissingue.com/v1/quote \
--header 'Content-Type: application/json' \
--data '
{
"fromToken": {
"chainId": 8453,
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "100000000"
},
"toToken": {
"slug": "circle-usd"
},
"feeToken": {
"chainId": 8453,
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"fromAddress": "0x6eBf2153f931334714984c7F5a8E574207927Cc7",
"toAddress": "0x6eBf2153f931334714984c7F5a8E574207927Cc7",
"slippage": 0.01
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json
Show child attributes
Show child attributes
- TokenQuote
- TokenQuoteBySlug
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Required range:
0 <= x <= 1Response
Successful Response
