Get Exact Out Quotes
curl --request POST \
--url https://quotes.eco.com/api/v3/quotes/exactOut \
--header 'Content-Type: application/json' \
--data '
{
"dAppID": "my-dapp",
"intentExecutionTypes": [
"SELF_PUBLISH"
],
"quoteRequest": {
"sourceChainID": 1,
"destinationChainID": 42161,
"sourceToken": "0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a",
"destinationToken": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",
"sourceAmount": "1000000",
"funder": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a",
"recipient": "0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890",
"refundRecipient": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a"
},
"contracts": {
"sourcePortal": "0x1234567890abcdef1234567890abcdef12345678",
"destinationPortal": "0x567890abcdef1234567890abcdef1234567890ab",
"prover": "0xabcdef1234567890abcdef1234567890abcdef12"
}
}
'import requests
url = "https://quotes.eco.com/api/v3/quotes/exactOut"
payload = {
"dAppID": "my-dapp",
"intentExecutionTypes": ["SELF_PUBLISH"],
"quoteRequest": {
"sourceChainID": 1,
"destinationChainID": 42161,
"sourceToken": "0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a",
"destinationToken": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",
"sourceAmount": "1000000",
"funder": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a",
"recipient": "0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890",
"refundRecipient": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a"
},
"contracts": {
"sourcePortal": "0x1234567890abcdef1234567890abcdef12345678",
"destinationPortal": "0x567890abcdef1234567890abcdef1234567890ab",
"prover": "0xabcdef1234567890abcdef1234567890abcdef12"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
dAppID: 'my-dapp',
intentExecutionTypes: ['SELF_PUBLISH'],
quoteRequest: {
sourceChainID: 1,
destinationChainID: 42161,
sourceToken: '0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a',
destinationToken: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
sourceAmount: '1000000',
funder: '0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a',
recipient: '0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890',
refundRecipient: '0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a'
},
contracts: {
sourcePortal: '0x1234567890abcdef1234567890abcdef12345678',
destinationPortal: '0x567890abcdef1234567890abcdef1234567890ab',
prover: '0xabcdef1234567890abcdef1234567890abcdef12'
}
})
};
fetch('https://quotes.eco.com/api/v3/quotes/exactOut', 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://quotes.eco.com/api/v3/quotes/exactOut",
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([
'dAppID' => 'my-dapp',
'intentExecutionTypes' => [
'SELF_PUBLISH'
],
'quoteRequest' => [
'sourceChainID' => 1,
'destinationChainID' => 42161,
'sourceToken' => '0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a',
'destinationToken' => '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
'sourceAmount' => '1000000',
'funder' => '0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a',
'recipient' => '0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890',
'refundRecipient' => '0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a'
],
'contracts' => [
'sourcePortal' => '0x1234567890abcdef1234567890abcdef12345678',
'destinationPortal' => '0x567890abcdef1234567890abcdef1234567890ab',
'prover' => '0xabcdef1234567890abcdef1234567890abcdef12'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://quotes.eco.com/api/v3/quotes/exactOut"
payload := strings.NewReader("{\n \"dAppID\": \"my-dapp\",\n \"intentExecutionTypes\": [\n \"SELF_PUBLISH\"\n ],\n \"quoteRequest\": {\n \"sourceChainID\": 1,\n \"destinationChainID\": 42161,\n \"sourceToken\": \"0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a\",\n \"destinationToken\": \"0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8\",\n \"sourceAmount\": \"1000000\",\n \"funder\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\",\n \"recipient\": \"0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890\",\n \"refundRecipient\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\"\n },\n \"contracts\": {\n \"sourcePortal\": \"0x1234567890abcdef1234567890abcdef12345678\",\n \"destinationPortal\": \"0x567890abcdef1234567890abcdef1234567890ab\",\n \"prover\": \"0xabcdef1234567890abcdef1234567890abcdef12\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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://quotes.eco.com/api/v3/quotes/exactOut")
.header("Content-Type", "application/json")
.body("{\n \"dAppID\": \"my-dapp\",\n \"intentExecutionTypes\": [\n \"SELF_PUBLISH\"\n ],\n \"quoteRequest\": {\n \"sourceChainID\": 1,\n \"destinationChainID\": 42161,\n \"sourceToken\": \"0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a\",\n \"destinationToken\": \"0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8\",\n \"sourceAmount\": \"1000000\",\n \"funder\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\",\n \"recipient\": \"0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890\",\n \"refundRecipient\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\"\n },\n \"contracts\": {\n \"sourcePortal\": \"0x1234567890abcdef1234567890abcdef12345678\",\n \"destinationPortal\": \"0x567890abcdef1234567890abcdef1234567890ab\",\n \"prover\": \"0xabcdef1234567890abcdef1234567890abcdef12\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://quotes.eco.com/api/v3/quotes/exactOut")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"dAppID\": \"my-dapp\",\n \"intentExecutionTypes\": [\n \"SELF_PUBLISH\"\n ],\n \"quoteRequest\": {\n \"sourceChainID\": 1,\n \"destinationChainID\": 42161,\n \"sourceToken\": \"0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a\",\n \"destinationToken\": \"0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8\",\n \"sourceAmount\": \"1000000\",\n \"funder\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\",\n \"recipient\": \"0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890\",\n \"refundRecipient\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\"\n },\n \"contracts\": {\n \"sourcePortal\": \"0x1234567890abcdef1234567890abcdef12345678\",\n \"destinationPortal\": \"0x567890abcdef1234567890abcdef1234567890ab\",\n \"prover\": \"0xabcdef1234567890abcdef1234567890abcdef12\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"quoteID": "<string>",
"solverID": "<string>",
"receiveSignedIntentUrl": "<string>",
"quoteData": {
"contracts": {
"sourcePortal": "0x1234567890abcdef1234567890abcdef12345678",
"destinationPortal": "0x567890abcdef1234567890abcdef1234567890ab",
"prover": "0xabcdef1234567890abcdef1234567890abcdef12"
},
"quoteResponse": {
"intentExecutionType": "SELF_PUBLISH",
"sourceChainID": 1,
"destinationChainID": 42161,
"sourceToken": "0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a",
"destinationToken": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",
"sourceAmount": "1000000",
"destinationAmount": "995000",
"funder": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a",
"refundRecipient": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a",
"recipient": "0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890",
"fees": [
{
"name": "Solver Fee",
"description": "Fee paid to the solver for executing the cross-chain swap",
"token": {
"address": "0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a",
"decimals": 6,
"symbol": "USDC"
},
"amount": "1000"
}
],
"deadline": 1672531200,
"estimatedFulfillTimeSec": 300,
"encodedRoute": "0x00000000000000000000000000000000000000000000000000000000000000202810ea6d0860ce5315ef2b62b1b580f2b4ef158b76a6ea8f8982600c130e55e70000000000000000000000000000000000000000000000000000000068e56fa2000000000000000000000000b5e58a8206473dc3ab9b8d4d3b0f84c0ba68f8b5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000833589fcd6edb6e082dc7c32d4f71b54bda0291300000000000000000000000000000000000000000000000000000000004bd61000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000002b2c52b1b63c4bfc7f16910a1734641d8e34de6200000000000000000000000000000000000000000000000000000000004bd61000000000000000000000000000000000000000000000000000000000"
}
}
}
]
}Quotes & Intents
Get Exact Out Quotes
Retrieve exact out quotes from solvers for a cross-chain token swap. Returns detailed pricing, fees, contract addresses, and estimated fulfillment time for the requested swap.
POST
/
api
/
v3
/
quotes
/
exactOut
Get Exact Out Quotes
curl --request POST \
--url https://quotes.eco.com/api/v3/quotes/exactOut \
--header 'Content-Type: application/json' \
--data '
{
"dAppID": "my-dapp",
"intentExecutionTypes": [
"SELF_PUBLISH"
],
"quoteRequest": {
"sourceChainID": 1,
"destinationChainID": 42161,
"sourceToken": "0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a",
"destinationToken": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",
"sourceAmount": "1000000",
"funder": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a",
"recipient": "0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890",
"refundRecipient": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a"
},
"contracts": {
"sourcePortal": "0x1234567890abcdef1234567890abcdef12345678",
"destinationPortal": "0x567890abcdef1234567890abcdef1234567890ab",
"prover": "0xabcdef1234567890abcdef1234567890abcdef12"
}
}
'import requests
url = "https://quotes.eco.com/api/v3/quotes/exactOut"
payload = {
"dAppID": "my-dapp",
"intentExecutionTypes": ["SELF_PUBLISH"],
"quoteRequest": {
"sourceChainID": 1,
"destinationChainID": 42161,
"sourceToken": "0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a",
"destinationToken": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",
"sourceAmount": "1000000",
"funder": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a",
"recipient": "0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890",
"refundRecipient": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a"
},
"contracts": {
"sourcePortal": "0x1234567890abcdef1234567890abcdef12345678",
"destinationPortal": "0x567890abcdef1234567890abcdef1234567890ab",
"prover": "0xabcdef1234567890abcdef1234567890abcdef12"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
dAppID: 'my-dapp',
intentExecutionTypes: ['SELF_PUBLISH'],
quoteRequest: {
sourceChainID: 1,
destinationChainID: 42161,
sourceToken: '0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a',
destinationToken: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
sourceAmount: '1000000',
funder: '0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a',
recipient: '0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890',
refundRecipient: '0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a'
},
contracts: {
sourcePortal: '0x1234567890abcdef1234567890abcdef12345678',
destinationPortal: '0x567890abcdef1234567890abcdef1234567890ab',
prover: '0xabcdef1234567890abcdef1234567890abcdef12'
}
})
};
fetch('https://quotes.eco.com/api/v3/quotes/exactOut', 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://quotes.eco.com/api/v3/quotes/exactOut",
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([
'dAppID' => 'my-dapp',
'intentExecutionTypes' => [
'SELF_PUBLISH'
],
'quoteRequest' => [
'sourceChainID' => 1,
'destinationChainID' => 42161,
'sourceToken' => '0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a',
'destinationToken' => '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
'sourceAmount' => '1000000',
'funder' => '0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a',
'recipient' => '0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890',
'refundRecipient' => '0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a'
],
'contracts' => [
'sourcePortal' => '0x1234567890abcdef1234567890abcdef12345678',
'destinationPortal' => '0x567890abcdef1234567890abcdef1234567890ab',
'prover' => '0xabcdef1234567890abcdef1234567890abcdef12'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://quotes.eco.com/api/v3/quotes/exactOut"
payload := strings.NewReader("{\n \"dAppID\": \"my-dapp\",\n \"intentExecutionTypes\": [\n \"SELF_PUBLISH\"\n ],\n \"quoteRequest\": {\n \"sourceChainID\": 1,\n \"destinationChainID\": 42161,\n \"sourceToken\": \"0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a\",\n \"destinationToken\": \"0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8\",\n \"sourceAmount\": \"1000000\",\n \"funder\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\",\n \"recipient\": \"0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890\",\n \"refundRecipient\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\"\n },\n \"contracts\": {\n \"sourcePortal\": \"0x1234567890abcdef1234567890abcdef12345678\",\n \"destinationPortal\": \"0x567890abcdef1234567890abcdef1234567890ab\",\n \"prover\": \"0xabcdef1234567890abcdef1234567890abcdef12\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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://quotes.eco.com/api/v3/quotes/exactOut")
.header("Content-Type", "application/json")
.body("{\n \"dAppID\": \"my-dapp\",\n \"intentExecutionTypes\": [\n \"SELF_PUBLISH\"\n ],\n \"quoteRequest\": {\n \"sourceChainID\": 1,\n \"destinationChainID\": 42161,\n \"sourceToken\": \"0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a\",\n \"destinationToken\": \"0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8\",\n \"sourceAmount\": \"1000000\",\n \"funder\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\",\n \"recipient\": \"0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890\",\n \"refundRecipient\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\"\n },\n \"contracts\": {\n \"sourcePortal\": \"0x1234567890abcdef1234567890abcdef12345678\",\n \"destinationPortal\": \"0x567890abcdef1234567890abcdef1234567890ab\",\n \"prover\": \"0xabcdef1234567890abcdef1234567890abcdef12\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://quotes.eco.com/api/v3/quotes/exactOut")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"dAppID\": \"my-dapp\",\n \"intentExecutionTypes\": [\n \"SELF_PUBLISH\"\n ],\n \"quoteRequest\": {\n \"sourceChainID\": 1,\n \"destinationChainID\": 42161,\n \"sourceToken\": \"0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a\",\n \"destinationToken\": \"0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8\",\n \"sourceAmount\": \"1000000\",\n \"funder\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\",\n \"recipient\": \"0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890\",\n \"refundRecipient\": \"0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a\"\n },\n \"contracts\": {\n \"sourcePortal\": \"0x1234567890abcdef1234567890abcdef12345678\",\n \"destinationPortal\": \"0x567890abcdef1234567890abcdef1234567890ab\",\n \"prover\": \"0xabcdef1234567890abcdef1234567890abcdef12\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"quoteID": "<string>",
"solverID": "<string>",
"receiveSignedIntentUrl": "<string>",
"quoteData": {
"contracts": {
"sourcePortal": "0x1234567890abcdef1234567890abcdef12345678",
"destinationPortal": "0x567890abcdef1234567890abcdef1234567890ab",
"prover": "0xabcdef1234567890abcdef1234567890abcdef12"
},
"quoteResponse": {
"intentExecutionType": "SELF_PUBLISH",
"sourceChainID": 1,
"destinationChainID": 42161,
"sourceToken": "0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a",
"destinationToken": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",
"sourceAmount": "1000000",
"destinationAmount": "995000",
"funder": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a",
"refundRecipient": "0x742d35Cc6527C92b4A1F3a2a8b1c9b3e8c4c5b2a",
"recipient": "0x8Ba1c0a8B4A4b9e8A9f1a6B7c8d9e0F1234567890",
"fees": [
{
"name": "Solver Fee",
"description": "Fee paid to the solver for executing the cross-chain swap",
"token": {
"address": "0xA0b86a33E6441e45C3b9d1C3D6a0b5be4b7b5b5a",
"decimals": 6,
"symbol": "USDC"
},
"amount": "1000"
}
],
"deadline": 1672531200,
"estimatedFulfillTimeSec": 300,
"encodedRoute": "0x00000000000000000000000000000000000000000000000000000000000000202810ea6d0860ce5315ef2b62b1b580f2b4ef158b76a6ea8f8982600c130e55e70000000000000000000000000000000000000000000000000000000068e56fa2000000000000000000000000b5e58a8206473dc3ab9b8d4d3b0f84c0ba68f8b5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000833589fcd6edb6e082dc7c32d4f71b54bda0291300000000000000000000000000000000000000000000000000000000004bd61000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000002b2c52b1b63c4bfc7f16910a1734641d8e34de6200000000000000000000000000000000000000000000000000000000004bd61000000000000000000000000000000000000000000000000000000000"
}
}
}
]
}Body
application/json
Unique identifier for the client application making the request
Example:
"my-dapp"
Array of intent execution types to fetch quotes for
Available options:
SELF_PUBLISH, GASLESS Example:
["SELF_PUBLISH"]
Cross-chain token swap request details including source/destination tokens and addresses
Show child attributes
Show child attributes
Optional contract addresses to use for the cross-chain swap (will use defaults if not specified)
Show child attributes
Show child attributes
Response
200 - application/json
Successfully retrieved exact out quotes with pricing and execution details
Array of solver quote responses
Show child attributes
Show child attributes
⌘I
