GET
/
v1
/
status
Fetch Status for zap transaction
curl --request GET \
  --url https://zap.dzap.io/v1/status
{
  "status": "success",
  "data": {
    "status": "COMPLETED",
    "steps": [
      {
        "chainId": 8453,
        "hash": "0x7828ac68a277bdf4ce7bca2f54555cdc289960f00fecf143bd82f160588bbc45",
        "status": "COMPLETED",
        "action": "swap",
        "input": [
          {
            "amount": "204",
            "amountUSD": "0.19227",
            "asset": {
              "chainId": 8453,
              "type": "ERC20",
              "symbol": "cbBTC",
              "address": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",
              "name": "Coinbase Wrapped BTC",
              "decimals": 8
            }
          }
        ],
        "output": [
          {
            "amount": "70886351050880",
            "amountUSD": "0",
            "asset": {
              "chainId": 8453,
              "type": "ERC20",
              "symbol": "rETH-WETH-BPT",
              "address": "0xC771c1a5905420DAEc317b154EB13e4198BA97D0",
              "name": "Balancer rETH-WETH Stable Pool",
              "decimals": 18,
              "provider": {
                "name": "Balancer",
                "id": "balancer",
                "logo": "https://balancer.fi/favicon.ico"
              },
              "underlyingTokens": [
                {
                  "chainId": 8453,
                  "address": "0x4200000000000000000000000000000000000006",
                  "name": "Wrapped Ether",
                  "symbol": "WETH",
                  "decimals": 18,
                  "logo": "https://static.debank.com/image/coin/logo_url/eth/d61441782d4a08a7479d54aea211679e.png"
                },
                {
                  "chainId": 8453,
                  "address": "0xB6fe221Fe9EeF5aBa221c348bA20A1Bf5e73624c",
                  "name": "Rocket Pool ETH",
                  "symbol": "rETH",
                  "decimals": 18,
                  "logo": "https://static.debank.com/image/arb_token/logo_url/0xec70dcb4a1efa46b8f2d97c310c9c4790ba5ffa8/6c8aa3f550d300ce84e06f95c496af69.png"
                }
              ]
            }
          }
        ]
      }
    ]
  }
}

Query Parameters

txnHash
string
required

Transaction hash to check the status for.

Example:

"0x7828ac68a277bdf4ce7bca2f54555cdc289960f00fecf143bd82f160588bbc45"

chainId
number
required

Chain ID where the transaction was executed.

Example:

8453

Response

200
application/json

Successful response with transaction status and details

The response is of type object.