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
List of transactions for the user account
Show child attributes
Overall transaction status.
PENDING, COMPLETED, FAILED, REFUNDED "COMPLETED"
List of transaction steps.
Show child attributes
Type of action performed in this step.
"swap"
Protocol used for this step.
Chain ID where the step was executed.
8453
Transaction hash for this step.
"0x7828ac68a277bdf4ce7bca2f54555cdc289960f00fecf143bd82f160588bbc45"
Status of this particular step.
COMPLETED, PENDING, FAILED "COMPLETED"
Input assets used in the transaction.
Show child attributes
Amount of the asset in its native decimal representation.
"204"
USD value of the amount.
"0.17167"
Show child attributes
Chain ID where the asset exists.
8453
Contract address of the asset.
"0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf"
Token symbol.
"cbBTC"
URL to the asset logo.
"https://static.debank.com/image/base_token/logo_url/0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf/a4ae837a6ca2fc45f07a74898cc4ba45.png"
Number of decimals for the asset.
8
Current price of the asset in USD.
"84152"
Type of the asset.
NATIVE, ERC20, ERC721, ERC1155 "ERC20"
Show child attributes
Unique identifier for the provider.
"openeden"
Name of the provider.
"Open Eden"
URL to the provider logo.
"https://app.openeden.com/tbill/favicons/favicon.svg"
List of underlying assets.
Show child attributes
Chain ID of the underlying token.
8453
Contract address of the underlying token.
"0x4200000000000000000000000000000000000006"
Name of the underlying token.
"Wrapped Ether"
Symbol of the underlying token.
"WETH"
Number of decimals for the underlying token.
18
URL to the underlying token logo.
"https://static.debank.com/image/coin/logo_url/eth/d61441782d4a08a7479d54aea211679e.png"
Output assets received from the transaction.
Show child attributes
Amount of the asset in its native decimal representation.
"204"
USD value of the amount.
"0.17167"
Show child attributes
Chain ID where the asset exists.
8453
Contract address of the asset.
"0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf"
Token symbol.
"cbBTC"
URL to the asset logo.
"https://static.debank.com/image/base_token/logo_url/0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf/a4ae837a6ca2fc45f07a74898cc4ba45.png"
Number of decimals for the asset.
8
Current price of the asset in USD.
"84152"
Type of the asset.
NATIVE, ERC20, ERC721, ERC1155 "ERC20"
Show child attributes
Unique identifier for the provider.
"openeden"
Name of the provider.
"Open Eden"
URL to the provider logo.
"https://app.openeden.com/tbill/favicons/favicon.svg"
List of underlying assets.
Show child attributes
Chain ID of the underlying token.
8453
Contract address of the underlying token.
"0x4200000000000000000000000000000000000006"
Name of the underlying token.
"Wrapped Ether"
Symbol of the underlying token.
"WETH"
Number of decimals for the underlying token.
18
URL to the underlying token logo.
"https://static.debank.com/image/coin/logo_url/eth/d61441782d4a08a7479d54aea211679e.png"
Total number of transactions matching the filter criteria
42
Number of transactions per page
10
Current page number
1
Total number of pages available
5