Obtain transaction data and logs for a particular wallet or transaction

Get Wallet Transactions

The 'Get Wallet Transactions' endpoint grants access to various types of transfers for a certain wallet address, including native currency and tokens (ERC-20, ERC-721, ERC-1155). Along with the required EOA address parameter, there are a few more to consider.

  • EOA Address: specify a particular wallet address to retrieve transactions for.
  • Direction: filter transactions based on their direction, either incoming or outgoing OR return transactions with any direction if not specified.
  • Counterparty: pass a specific counterparty address to filter transactions involving this address OR include transactions with any counterparty if not specified.
  • Block/Time Range: define a range of blocks or a time interval to filter transactions within.
  • Include_logs: choose whether to include or exclude transaction logs from the results.

Let's explore some examples that demonstrate how this endpoint can be utilized effectively.

Get all transactions of a specific wallet

The following request shows how to get all transactions of a particular wallet address. The request below pulls out every transaction that has ever happened on the specified wallet on the Ethereum Mainnet. Be sure to replace 'YOUR_API_KEY' with your actual API key.

curl --request GET \
--url 'https://api.parsiq.net/tsunami/eip155-1/v1/address/0x690B9A9E9aa1C9dB991C7721a92d351Db4FaC990/txs?block_number_start=1&block_number_end=latest&include_logs=false&limit=100' \
--header 'accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY'

Get Transaction

The 'Get Transaction' endpoint returns data for a transaction with the specified hash. The following request is an example of how the endpoint works. Be sure to replace 'YOUR_API_KEY' with your actual API key.

curl --request GET \
--url 'https://api.parsiq.net/tsunami/eip155-1/v1/txs/0x06ff82184ec5e7eaff4d93b995ccbea68f0f56061fa511e5a71fb8f683c73c35' \
--header 'accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY'