curl --request GET \
--url https://zap.dzap.io/v1/user/transactions
{
"transactions": [
{
"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"
}
]
}
}
]
}
]
}
],
"totalCount": 42,
"limit": 10,
"page": 1,
"totalPages": 5
}
Retrieve transaction history for a specific user account with optional filtering and pagination.
curl --request GET \
--url https://zap.dzap.io/v1/user/transactions
{
"transactions": [
{
"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"
}
]
}
}
]
}
]
}
],
"totalCount": 42,
"limit": 10,
"page": 1,
"totalPages": 5
}
Ethereum address of the user account.
"0x99BCEBf44433E901597D9fCb16E799a4847519f6"
Number of transactions to return per page.
10
Page number for pagination.
Filter transactions by specific blockchain network ID.
Filter transactions by status.
PENDING
, COMPLETED
, FAILED
, REFUNDED
Sort direction for transaction listing.
asc
, desc
Successful response with paginated transaction history
The response is of type object
.