POST
/
api
/
v1
/
intents
/
intentStatus
Get Intent Status
curl --request POST \
  --url https://quotes.eco.com/api/v1/intents/intentStatus \
  --header 'Content-Type: application/json' \
  --data '{
  "intentHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
  "intentCreatedHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab",
  "fulfillmentHash": "0x567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef123456"
}'
{
  "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

Response

200 - application/json

Successfully retrieved intent status and transaction details

The response is of type object.