Skip to main content
What you’ll build
  • A transaction feed with human-readable labels
  • Filters by type, chain and date range
  • Pagination through a wallet’s full history
Time
~10 minutes
You need

Steps

1

Fetch recent transactions

Call wallet transactions to get a wallet’s most recent transactions.
Each transaction includes:
  • operation_type - The high-level action, such as trade, send, receive or deposit.
  • transfers[] - Individual token movements, each with a direction (in, out or self).
  • fee - The gas fee paid, with its USD value.
  • application_metadata - The DApp involved (for example, Uniswap or Aave).
2

Filter by operation type

Pass filter[operation_types] to return only certain transaction types.
Available operation types:
3

Filter by chain and date range

Narrow results to specific chains with filter[chain_ids], or to a time window with filter[min_mined_at]. The filter[min_mined_at] value is a Unix timestamp in milliseconds.
4

Paginate through the full history

Each response has a links.next URL. Follow it until it’s empty to fetch every page.
5

Full working example

Save as tx-history.mjs and run with node tx-history.mjs:

Next steps

  • Use filter[asset_types]=nft to show NFT transfers.
  • Combine with the DApps endpoint to enrich application_metadata.
  • Get real-time alerts with the webhook recipe instead of polling.