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": "<string>",
  "intentCreatedHash": "<string>",
  "fulfillmentHash": "<string>"
}
'
{
  "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
intentHash
string
required

Hash of the intent to query status for

intentCreatedHash
string

Transaction hash of the intent creation transaction

fulfillmentHash
string

Transaction hash of the intent fulfillment transaction

Response

200 - application/json

Successfully retrieved intent status and transaction details

data
object
required

Intent status response data