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"
}
]
}
}
]
}
]
}
}
Retrieve the status and details of a transaction based on its hash and chain ID.
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"
}
]
}
}
]
}
]
}
}
Transaction hash to check the status for.
"0x7828ac68a277bdf4ce7bca2f54555cdc289960f00fecf143bd82f160588bbc45"
Chain ID where the transaction was executed.
8453
Successful response with transaction status and details
The response is of type object
.