Skip to main content
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": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
  "intentCreatedHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab",
  "fulfillmentHash": "0x567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef123456"
}'
{
  "data": {
    "intentHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
    "status": {
      "status": "Pending",
      "subStatus": "WaitingToFulfill"
    },
    "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
intentHash
string

Hash of the intent to query status for

Example:

"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"

intentCreatedHash
string

Transaction hash of the intent creation transaction

Example:

"0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab"

fulfillmentHash
string

Transaction hash of the intent fulfillment transaction

Example:

"0x567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef123456"

Response

200 - application/json

Successfully retrieved intent status and transaction details

data
object
required

Intent status response data

I