Get Intent Status
curl --request POST \
--url https://quotes.eco.com/api/v3/intents/intentStatus \
--header 'Content-Type: application/json' \
--data '
{
"intentHash": "<string>",
"intentCreatedHash": "<string>",
"fulfillmentHash": "<string>"
}
'import requests
url = "https://quotes.eco.com/api/v3/intents/intentStatus"
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/intentStatus', 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/intentStatus",
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/intentStatus"
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/intentStatus")
.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/intentStatus")
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"
},
"intentCreated": {
"chainId": 1,
"transactionHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
"blockExplorerUrl": "https://etherscan.io/tx/0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
},
"fulfillment": {
"chainId": 1,
"transactionHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
"blockExplorerUrl": "https://etherscan.io/tx/0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
},
"refund": {
"chainId": 1,
"transactionHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
"blockExplorerUrl": "https://etherscan.io/tx/0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
}
}
}Quotes & Intents
Get Intent Status
Query the current status of a cross-chain intent transaction. Provide one of: intentHash, intentCreatedHash, or fulfillmentHash to track the intent’s progress through the execution lifecycle.
POST
/
api
/
v3
/
intents
/
intentStatus
Get Intent Status
curl --request POST \
--url https://quotes.eco.com/api/v3/intents/intentStatus \
--header 'Content-Type: application/json' \
--data '
{
"intentHash": "<string>",
"intentCreatedHash": "<string>",
"fulfillmentHash": "<string>"
}
'import requests
url = "https://quotes.eco.com/api/v3/intents/intentStatus"
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/intentStatus', 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/intentStatus",
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/intentStatus"
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/intentStatus")
.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/intentStatus")
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"
},
"intentCreated": {
"chainId": 1,
"transactionHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
"blockExplorerUrl": "https://etherscan.io/tx/0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
},
"fulfillment": {
"chainId": 1,
"transactionHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
"blockExplorerUrl": "https://etherscan.io/tx/0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
},
"refund": {
"chainId": 1,
"transactionHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
"blockExplorerUrl": "https://etherscan.io/tx/0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
}
}
}Body
application/json
Response
200 - application/json
Successfully retrieved intent status and transaction details
Intent status response data
Show child attributes
Show child attributes
⌘I
