curl --request POST \
--url https://quotes.eco.com/api/v3/intents/intentStatus \
--header 'Content-Type: application/json' \
--data '
{
"intentHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
"intentCreatedHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab",
"fulfillmentHash": "0x567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef123456"
}
'{
"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"
}
}
}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.
curl --request POST \
--url https://quotes.eco.com/api/v3/intents/intentStatus \
--header 'Content-Type: application/json' \
--data '
{
"intentHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
"intentCreatedHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab",
"fulfillmentHash": "0x567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef123456"
}
'{
"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"
}
}
}Hash of the intent to query status for
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
Transaction hash of the intent creation transaction
"0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab"
Transaction hash of the intent fulfillment transaction
"0x567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef123456"
Successfully retrieved intent status and transaction details
Intent status response data
Show child attributes
Hash of the intent being tracked
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
Current status and sub-status of the intent execution
Show child attributes
High-level status of the intent (Pending or Completed)
Pending, Completed "Pending"
Detailed status indicating the specific stage of intent execution
WaitingToFulfill, WaitingForRefund, Fulfilled, Refunded "WaitingToFulfill"
Human-readable description of the substatus
"The intent is waiting to be fulfilled"
Transaction details for when the intent was created
Show child attributes
Chain ID where this transaction occurred
1
Hash of the transaction
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
URL to view this transaction on a block explorer
"https://etherscan.io/tx/0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
Transaction details for when the intent was fulfilled (if completed)
Show child attributes
Chain ID where this transaction occurred
1
Hash of the transaction
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
URL to view this transaction on a block explorer
"https://etherscan.io/tx/0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
Transaction details for when the intent was refunded (if refunded)
Show child attributes
Chain ID where this transaction occurred
1
Hash of the transaction
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"
URL to view this transaction on a block explorer
"https://etherscan.io/tx/0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"