curl --request POST \
--url https://v1.orchestrator.rhinestone.dev/quotes/estimate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-version: <x-api-version>' \
--data '
{
"direction": "exactIn",
"sourceChainId": "eip155:8453",
"sourceToken": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"destinationChainId": "eip155:42161",
"destinationToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
"amountIn": "1000000",
"amountOut": "1000000",
"accountType": "SMART_ACCOUNT",
"accountDeployed": true,
"options": {
"settlementLayers": {
"include": []
},
"sponsorSettings": {
"gas": true,
"bridgeFees": true,
"swapFees": false
},
"selectionStrategy": "best"
}
}
'import requests
url = "https://v1.orchestrator.rhinestone.dev/quotes/estimate"
payload = {
"direction": "exactIn",
"sourceChainId": "eip155:8453",
"sourceToken": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"destinationChainId": "eip155:42161",
"destinationToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
"amountIn": "1000000",
"amountOut": "1000000",
"accountType": "SMART_ACCOUNT",
"accountDeployed": True,
"options": {
"settlementLayers": { "include": [] },
"sponsorSettings": {
"gas": True,
"bridgeFees": True,
"swapFees": False
},
"selectionStrategy": "best"
}
}
headers = {
"x-api-version": "<x-api-version>",
"x-api-key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-api-version': '<x-api-version>',
'x-api-key': '<x-api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
direction: 'exactIn',
sourceChainId: 'eip155:8453',
sourceToken: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913',
destinationChainId: 'eip155:42161',
destinationToken: '0xaf88d065e77c8cc2239327c5edb3a432268e5831',
amountIn: '1000000',
amountOut: '1000000',
accountType: 'SMART_ACCOUNT',
accountDeployed: true,
options: {
settlementLayers: {include: []},
sponsorSettings: {gas: true, bridgeFees: true, swapFees: false},
selectionStrategy: 'best'
}
})
};
fetch('https://v1.orchestrator.rhinestone.dev/quotes/estimate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://v1.orchestrator.rhinestone.dev/quotes/estimate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'direction' => 'exactIn',
'sourceChainId' => 'eip155:8453',
'sourceToken' => '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913',
'destinationChainId' => 'eip155:42161',
'destinationToken' => '0xaf88d065e77c8cc2239327c5edb3a432268e5831',
'amountIn' => '1000000',
'amountOut' => '1000000',
'accountType' => 'SMART_ACCOUNT',
'accountDeployed' => true,
'options' => [
'settlementLayers' => [
'include' => [
]
],
'sponsorSettings' => [
'gas' => true,
'bridgeFees' => true,
'swapFees' => false
],
'selectionStrategy' => 'best'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <x-api-key>",
"x-api-version: <x-api-version>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://v1.orchestrator.rhinestone.dev/quotes/estimate"
payload := strings.NewReader("{\n \"direction\": \"exactIn\",\n \"sourceChainId\": \"eip155:8453\",\n \"sourceToken\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n \"destinationChainId\": \"eip155:42161\",\n \"destinationToken\": \"0xaf88d065e77c8cc2239327c5edb3a432268e5831\",\n \"amountIn\": \"1000000\",\n \"amountOut\": \"1000000\",\n \"accountType\": \"SMART_ACCOUNT\",\n \"accountDeployed\": true,\n \"options\": {\n \"settlementLayers\": {\n \"include\": []\n },\n \"sponsorSettings\": {\n \"gas\": true,\n \"bridgeFees\": true,\n \"swapFees\": false\n },\n \"selectionStrategy\": \"best\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-version", "<x-api-version>")
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://v1.orchestrator.rhinestone.dev/quotes/estimate")
.header("x-api-version", "<x-api-version>")
.header("x-api-key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"direction\": \"exactIn\",\n \"sourceChainId\": \"eip155:8453\",\n \"sourceToken\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n \"destinationChainId\": \"eip155:42161\",\n \"destinationToken\": \"0xaf88d065e77c8cc2239327c5edb3a432268e5831\",\n \"amountIn\": \"1000000\",\n \"amountOut\": \"1000000\",\n \"accountType\": \"SMART_ACCOUNT\",\n \"accountDeployed\": true,\n \"options\": {\n \"settlementLayers\": {\n \"include\": []\n },\n \"sponsorSettings\": {\n \"gas\": true,\n \"bridgeFees\": true,\n \"swapFees\": false\n },\n \"selectionStrategy\": \"best\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://v1.orchestrator.rhinestone.dev/quotes/estimate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-version"] = '<x-api-version>'
request["x-api-key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"direction\": \"exactIn\",\n \"sourceChainId\": \"eip155:8453\",\n \"sourceToken\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n \"destinationChainId\": \"eip155:42161\",\n \"destinationToken\": \"0xaf88d065e77c8cc2239327c5edb3a432268e5831\",\n \"amountIn\": \"1000000\",\n \"amountOut\": \"1000000\",\n \"accountType\": \"SMART_ACCOUNT\",\n \"accountDeployed\": true,\n \"options\": {\n \"settlementLayers\": {\n \"include\": []\n },\n \"sponsorSettings\": {\n \"gas\": true,\n \"bridgeFees\": true,\n \"swapFees\": false\n },\n \"selectionStrategy\": \"best\"\n }\n}"
response = http.request(request)
puts response.read_body{
"routes": [
{
"settlementLayer": "ACROSS",
"accuracy": "exact",
"status": "ok",
"input": {
"chainId": "eip155:8453",
"tokenAddress": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
"symbol": "USDC",
"decimals": 6,
"price": {
"usd": 1
},
"amount": "1050000"
},
"output": {
"chainId": "eip155:8453",
"tokenAddress": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
"symbol": "USDC",
"decimals": 6,
"price": {
"usd": 1
},
"amount": "1050000"
},
"fees": {
"total": {
"usd": 0.029
},
"breakdown": {
"gas": {
"usd": 0.029,
"sponsored": false
},
"bridge": {
"usd": 0.029,
"sponsored": false
},
"swap": {
"usd": 0.029,
"sponsored": false
},
"app": {
"usd": 0.029,
"sponsored": false
},
"protocol": {
"usd": 0.029,
"sponsored": false
},
"sponsorSurcharge": {
"usd": 0.029,
"sponsored": false
}
}
},
"estimatedFillTime": {
"seconds": 3
}
}
],
"unavailableReason": "unsupported_token"
}{
"code": "VALIDATION_ERROR",
"message": "Invalid input",
"details": [
{
"message": "<string>",
"context": {}
}
]
}{
"code": "VALIDATION_ERROR",
"message": "Invalid input",
"details": [
{
"message": "<string>",
"context": {}
}
]
}{
"code": "VALIDATION_ERROR",
"message": "Invalid input",
"details": [
{
"message": "<string>",
"context": {}
}
]
}Create Indicative Quote
Computes an indicative (non-binding) quote: ranked route estimates with per-route cost breakdown and fill time. Unlike POST /quotes, it returns no intentId, signData, or expiresAt — it cannot be submitted to POST /intents. Use it for pre-quote UX (price previews, route discovery) without persisting an intent.
curl --request POST \
--url https://v1.orchestrator.rhinestone.dev/quotes/estimate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-version: <x-api-version>' \
--data '
{
"direction": "exactIn",
"sourceChainId": "eip155:8453",
"sourceToken": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"destinationChainId": "eip155:42161",
"destinationToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
"amountIn": "1000000",
"amountOut": "1000000",
"accountType": "SMART_ACCOUNT",
"accountDeployed": true,
"options": {
"settlementLayers": {
"include": []
},
"sponsorSettings": {
"gas": true,
"bridgeFees": true,
"swapFees": false
},
"selectionStrategy": "best"
}
}
'import requests
url = "https://v1.orchestrator.rhinestone.dev/quotes/estimate"
payload = {
"direction": "exactIn",
"sourceChainId": "eip155:8453",
"sourceToken": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"destinationChainId": "eip155:42161",
"destinationToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
"amountIn": "1000000",
"amountOut": "1000000",
"accountType": "SMART_ACCOUNT",
"accountDeployed": True,
"options": {
"settlementLayers": { "include": [] },
"sponsorSettings": {
"gas": True,
"bridgeFees": True,
"swapFees": False
},
"selectionStrategy": "best"
}
}
headers = {
"x-api-version": "<x-api-version>",
"x-api-key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-api-version': '<x-api-version>',
'x-api-key': '<x-api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
direction: 'exactIn',
sourceChainId: 'eip155:8453',
sourceToken: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913',
destinationChainId: 'eip155:42161',
destinationToken: '0xaf88d065e77c8cc2239327c5edb3a432268e5831',
amountIn: '1000000',
amountOut: '1000000',
accountType: 'SMART_ACCOUNT',
accountDeployed: true,
options: {
settlementLayers: {include: []},
sponsorSettings: {gas: true, bridgeFees: true, swapFees: false},
selectionStrategy: 'best'
}
})
};
fetch('https://v1.orchestrator.rhinestone.dev/quotes/estimate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://v1.orchestrator.rhinestone.dev/quotes/estimate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'direction' => 'exactIn',
'sourceChainId' => 'eip155:8453',
'sourceToken' => '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913',
'destinationChainId' => 'eip155:42161',
'destinationToken' => '0xaf88d065e77c8cc2239327c5edb3a432268e5831',
'amountIn' => '1000000',
'amountOut' => '1000000',
'accountType' => 'SMART_ACCOUNT',
'accountDeployed' => true,
'options' => [
'settlementLayers' => [
'include' => [
]
],
'sponsorSettings' => [
'gas' => true,
'bridgeFees' => true,
'swapFees' => false
],
'selectionStrategy' => 'best'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <x-api-key>",
"x-api-version: <x-api-version>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://v1.orchestrator.rhinestone.dev/quotes/estimate"
payload := strings.NewReader("{\n \"direction\": \"exactIn\",\n \"sourceChainId\": \"eip155:8453\",\n \"sourceToken\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n \"destinationChainId\": \"eip155:42161\",\n \"destinationToken\": \"0xaf88d065e77c8cc2239327c5edb3a432268e5831\",\n \"amountIn\": \"1000000\",\n \"amountOut\": \"1000000\",\n \"accountType\": \"SMART_ACCOUNT\",\n \"accountDeployed\": true,\n \"options\": {\n \"settlementLayers\": {\n \"include\": []\n },\n \"sponsorSettings\": {\n \"gas\": true,\n \"bridgeFees\": true,\n \"swapFees\": false\n },\n \"selectionStrategy\": \"best\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-version", "<x-api-version>")
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://v1.orchestrator.rhinestone.dev/quotes/estimate")
.header("x-api-version", "<x-api-version>")
.header("x-api-key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"direction\": \"exactIn\",\n \"sourceChainId\": \"eip155:8453\",\n \"sourceToken\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n \"destinationChainId\": \"eip155:42161\",\n \"destinationToken\": \"0xaf88d065e77c8cc2239327c5edb3a432268e5831\",\n \"amountIn\": \"1000000\",\n \"amountOut\": \"1000000\",\n \"accountType\": \"SMART_ACCOUNT\",\n \"accountDeployed\": true,\n \"options\": {\n \"settlementLayers\": {\n \"include\": []\n },\n \"sponsorSettings\": {\n \"gas\": true,\n \"bridgeFees\": true,\n \"swapFees\": false\n },\n \"selectionStrategy\": \"best\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://v1.orchestrator.rhinestone.dev/quotes/estimate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-version"] = '<x-api-version>'
request["x-api-key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"direction\": \"exactIn\",\n \"sourceChainId\": \"eip155:8453\",\n \"sourceToken\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n \"destinationChainId\": \"eip155:42161\",\n \"destinationToken\": \"0xaf88d065e77c8cc2239327c5edb3a432268e5831\",\n \"amountIn\": \"1000000\",\n \"amountOut\": \"1000000\",\n \"accountType\": \"SMART_ACCOUNT\",\n \"accountDeployed\": true,\n \"options\": {\n \"settlementLayers\": {\n \"include\": []\n },\n \"sponsorSettings\": {\n \"gas\": true,\n \"bridgeFees\": true,\n \"swapFees\": false\n },\n \"selectionStrategy\": \"best\"\n }\n}"
response = http.request(request)
puts response.read_body{
"routes": [
{
"settlementLayer": "ACROSS",
"accuracy": "exact",
"status": "ok",
"input": {
"chainId": "eip155:8453",
"tokenAddress": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
"symbol": "USDC",
"decimals": 6,
"price": {
"usd": 1
},
"amount": "1050000"
},
"output": {
"chainId": "eip155:8453",
"tokenAddress": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
"symbol": "USDC",
"decimals": 6,
"price": {
"usd": 1
},
"amount": "1050000"
},
"fees": {
"total": {
"usd": 0.029
},
"breakdown": {
"gas": {
"usd": 0.029,
"sponsored": false
},
"bridge": {
"usd": 0.029,
"sponsored": false
},
"swap": {
"usd": 0.029,
"sponsored": false
},
"app": {
"usd": 0.029,
"sponsored": false
},
"protocol": {
"usd": 0.029,
"sponsored": false
},
"sponsorSurcharge": {
"usd": 0.029,
"sponsored": false
}
}
},
"estimatedFillTime": {
"seconds": 3
}
}
],
"unavailableReason": "unsupported_token"
}{
"code": "VALIDATION_ERROR",
"message": "Invalid input",
"details": [
{
"message": "<string>",
"context": {}
}
]
}{
"code": "VALIDATION_ERROR",
"message": "Invalid input",
"details": [
{
"message": "<string>",
"context": {}
}
]
}{
"code": "VALIDATION_ERROR",
"message": "Invalid input",
"details": [
{
"message": "<string>",
"context": {}
}
]
}Headers
API version. Required; pinned to this document.
2026-04.blanc API key.
Body
Indicative-quote request. Chain ids are eip155 CAIP-2 strings; exactly one of amountIn/amountOut is required, matching direction.
exactIn fixes the deposited amountIn and estimates the delivered output; exactOut fixes the desired amountOut and estimates the required input.
exactIn, exactOut "exactIn"
Source chain id (CAIP-2, eip155)
^eip155:[0-9]{1,32}$"eip155:8453"
Source token address
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
Destination chain id (CAIP-2), matching the destinations POST /quotes accepts: EVM (eip155:*), a virtual HyperCore delivery venue (hypercore:spot or hypercore:perp), or non-EVM solana:… / tron:….
^(eip155|solana|tron|hypercore|stellar):[-_a-zA-Z0-9]{1,32}$"eip155:42161"
Destination token address — EVM 0x…, Solana base58 mint, or Tron T-address.
1"0xaf88d065e77c8cc2239327c5edb3a432268e5831"
Deposited amount in the source token's smallest unit. Required for (and only valid with) direction: exactIn.
"1000000"
Desired delivered amount in the destination token's smallest unit. Required for (and only valid with) direction: exactOut.
"1000000"
Account the route would execute against. Settlement layers filter on account type, so declaring it yields an estimate that matches what POST /quotes would plan. Defaults to EOA — the more restrictive of the two — so an undeclared caller is never shown smart-account-only routes.
EOA, SMART_ACCOUNT "SMART_ACCOUNT"
Whether the smart account is already deployed on the source chain. An undeployed account pays one-time setup gas, so declaring it avoids over-charging repeat users. Defaults to undeployed (charges setup) for a smart account when omitted — the conservative direction. Ignored for EOAs.
true
Optional estimate tuning knobs
Show child attributes
Show child attributes
Response
OK
Response body for POST /quotes/estimate. Indicative (non-binding): carries no intentId, signData, or expiresAt.
Was this page helpful?