/track - Request the status of a swap

The /track endpoint provides real-time status information for a specific transaction. It is particularly useful for tracking the progress and details of swaps, transfers, and other operations. To use this endpoint, you must provide the chain ID and transaction hash. For a complete list of chain IDs used by DoritoKit you can check the table here.

Method: POST

URL: https://crunchy.dorito.club/api/track

Request Body:

Field
Type
Description

hash

string

Transaction hash (required)

chainId

string

Chain ID of the transaction (required)

Example Request:

curl -X 'POST' \
  'https://crunchy.dorito.club/api/track' \
  -H 'Content-Type: application/json' \
  -d '{
  "hash": "0x1890aba1c0b25126892af2ab09f5c1bba75adefc47918a96ea498764ab643ce9",
  "chainId": "1"
}'

Response

The response contains detailed information about the transaction status, type, and associated metadata.

Response Fields:

Field
Type
Description

status

string

The status of a transaction (Running or Completed.)

Last updated