Get Intent Status Array
curl --request POST \
--url https://quotes.eco.com/api/v3/intents/status \
--header 'Content-Type: application/json' \
--data '
{
"intentHash": "<string>",
"intentCreatedHash": "<string>",
"fulfillmentHash": "<string>"
}
'import requests
url = "https://quotes.eco.com/api/v3/intents/status"
payload = {
"intentHash": "<string>",
"intentCreatedHash": "<string>",
"fulfillmentHash": "<string>"
}
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({
intentHash: '<string>',
intentCreatedHash: '<string>',
fulfillmentHash: '<string>'
})
};
fetch('https://quotes.eco.com/api/v3/intents/status', 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/intents/status",
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([
'intentHash' => '<string>',
'intentCreatedHash' => '<string>',
'fulfillmentHash' => '<string>'
]),
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/intents/status"
payload := strings.NewReader("{\n \"intentHash\": \"<string>\",\n \"intentCreatedHash\": \"<string>\",\n \"fulfillmentHash\": \"<string>\"\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/intents/status")
.header("Content-Type", "application/json")
.body("{\n \"intentHash\": \"<string>\",\n \"intentCreatedHash\": \"<string>\",\n \"fulfillmentHash\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://quotes.eco.com/api/v3/intents/status")
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 \"intentHash\": \"<string>\",\n \"intentCreatedHash\": \"<string>\",\n \"fulfillmentHash\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"intentHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
"status": {
"status": "Pending",
"subStatus": "WaitingToFulfill",
"subStatusMessage": "The intent is waiting to be fulfilled"
},
"intentData": {
"sourceChainID": 42161,
"destinationChainID": 167000,
"creator": "0x1234567890abcdef1234567890abcdef12345678",
"deadline": 1730000000,
"createdAt": 1729500000,
"sourceTransfers": [
{
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000"
}
],
"destinationTransfers": [
{
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000",
"recipient": "0x054968e2f376192c69b8f30870d450519ff77ac8"
}
],
"refundRecipient": "0x1234567890abcdef1234567890abcdef12345678"
},
"sendingTxs": [
{
"chainId": 42161,
"timestamp": 1729163645,
"txHash": "0xe1ffdcf09d5aa92a2d89b1b39db3f8cadf09428a296cce0d5e387595ac83d08f",
"txLink": "https://arbiscan.io/tx/0xe1ffdcf09d5aa92a2d89b1b39db3f8cadf09428a296cce0d5e387595ac83d08f",
"transfers": [
{
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000"
}
]
}
],
"receivingTxs": [
{
"chainId": 10,
"timestamp": 1729164000,
"txHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"txLink": "https://optimistic.etherscan.io/tx/0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"transfers": [
{
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000",
"recipient": "0x054968e2f376192c69b8f30870d450519ff77ac8"
}
]
}
]
}
]
}Quotes & Intents
Get Intent Status Array
Query the status of multiple intents created in the same transaction. Returns an array of intent statuses ordered by creation event log index. Provide one of: intentHash, intentCreatedHash, or fulfillmentHash. Limited to 100 results.
POST
/
api
/
v3
/
intents
/
status
Get Intent Status Array
curl --request POST \
--url https://quotes.eco.com/api/v3/intents/status \
--header 'Content-Type: application/json' \
--data '
{
"intentHash": "<string>",
"intentCreatedHash": "<string>",
"fulfillmentHash": "<string>"
}
'import requests
url = "https://quotes.eco.com/api/v3/intents/status"
payload = {
"intentHash": "<string>",
"intentCreatedHash": "<string>",
"fulfillmentHash": "<string>"
}
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({
intentHash: '<string>',
intentCreatedHash: '<string>',
fulfillmentHash: '<string>'
})
};
fetch('https://quotes.eco.com/api/v3/intents/status', 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/intents/status",
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([
'intentHash' => '<string>',
'intentCreatedHash' => '<string>',
'fulfillmentHash' => '<string>'
]),
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/intents/status"
payload := strings.NewReader("{\n \"intentHash\": \"<string>\",\n \"intentCreatedHash\": \"<string>\",\n \"fulfillmentHash\": \"<string>\"\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/intents/status")
.header("Content-Type", "application/json")
.body("{\n \"intentHash\": \"<string>\",\n \"intentCreatedHash\": \"<string>\",\n \"fulfillmentHash\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://quotes.eco.com/api/v3/intents/status")
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 \"intentHash\": \"<string>\",\n \"intentCreatedHash\": \"<string>\",\n \"fulfillmentHash\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"intentHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
"status": {
"status": "Pending",
"subStatus": "WaitingToFulfill",
"subStatusMessage": "The intent is waiting to be fulfilled"
},
"intentData": {
"sourceChainID": 42161,
"destinationChainID": 167000,
"creator": "0x1234567890abcdef1234567890abcdef12345678",
"deadline": 1730000000,
"createdAt": 1729500000,
"sourceTransfers": [
{
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000"
}
],
"destinationTransfers": [
{
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000",
"recipient": "0x054968e2f376192c69b8f30870d450519ff77ac8"
}
],
"refundRecipient": "0x1234567890abcdef1234567890abcdef12345678"
},
"sendingTxs": [
{
"chainId": 42161,
"timestamp": 1729163645,
"txHash": "0xe1ffdcf09d5aa92a2d89b1b39db3f8cadf09428a296cce0d5e387595ac83d08f",
"txLink": "https://arbiscan.io/tx/0xe1ffdcf09d5aa92a2d89b1b39db3f8cadf09428a296cce0d5e387595ac83d08f",
"transfers": [
{
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000"
}
]
}
],
"receivingTxs": [
{
"chainId": 10,
"timestamp": 1729164000,
"txHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"txLink": "https://optimistic.etherscan.io/tx/0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"transfers": [
{
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000",
"recipient": "0x054968e2f376192c69b8f30870d450519ff77ac8"
}
]
}
]
}
]
}Body
application/json
Response
Successfully retrieved array of intent statuses ordered by log index
Array of intent statuses matching the search criteria (with log indexes and timestamps)
Show child attributes
Show child attributes
⌘I
