Skip to main content
POST
/
api
/
v3
/
intents
/
status
Get Intent Status Array
curl --request POST \
  --url https://quotes.eco.com/api/v3/intents/status \
  --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"
      },
      "intentData": {
        "sourceChainID": 42161,
        "destinationChainID": 167000,
        "creator": "0x1234567890abcdef1234567890abcdef12345678",
        "deadline": 1730000000,
        "createdAt": 1729500000,
        "sourceTransfers": [
          {
            "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
            "amount": "1000000"
          }
        ],
        "destinationTransfers": [
          {
            "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
            "amount": "1000000",
            "recipient": "0x054968e2f376192c69b8f30870d450519ff77ac8"
          }
        ],
        "refundRecipient": "0x1234567890abcdef1234567890abcdef12345678"
      },
      "sendingTxs": [
        {
          "chainId": 42161,
          "timestamp": 1729163645,
          "txHash": "0xe1ffdcf09d5aa92a2d89b1b39db3f8cadf09428a296cce0d5e387595ac83d08f",
          "txLink": "https://arbiscan.io/tx/0xe1ffdcf09d5aa92a2d89b1b39db3f8cadf09428a296cce0d5e387595ac83d08f",
          "transfers": [
            {
              "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "amount": "1000000"
            }
          ]
        }
      ],
      "receivingTxs": [
        {
          "chainId": 10,
          "timestamp": 1729164000,
          "txHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
          "txLink": "https://optimistic.etherscan.io/tx/0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
          "transfers": [
            {
              "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "amount": "1000000",
              "recipient": "0x054968e2f376192c69b8f30870d450519ff77ac8"
            }
          ]
        }
      ]
    }
  ]
}

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

Successfully retrieved array of intent statuses ordered by log index

data
object[]
required

Array of intent statuses matching the search criteria (with log indexes and timestamps)