GET
/
v1
/
user
/
transactions
Transaction History
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
}

Query Parameters

account
string
required

Ethereum address of the user account.

Example:

"0x99BCEBf44433E901597D9fCb16E799a4847519f6"

limit
integer

Number of transactions to return per page.

Example:

10

page
integer

Page number for pagination.

chainId
integer

Filter transactions by specific blockchain network ID.

status
enum<string>

Filter transactions by status.

Available options:
PENDING,
COMPLETED,
FAILED,
REFUNDED
sortDirection
enum<string>

Sort direction for transaction listing.

Available options:
asc,
desc

Response

200
application/json

Successful response with paginated transaction history

The response is of type object.