Transactions API provides transaction data for a specified wallet or transactions. Also, provides transaction logs.
Get Wallet Transactions
Get Wallet Transactions endpoint provides access to all transfers (native currency, ERC20, ERC721, and ERC1155 token transfers):
- for the specified wallet Address
- of the specified Direction (incoming or outgoing), or with any Direction, if not specified
- of the specified transaction Counterparty address, or with any Counterparty, if not specified
- within a specified block/time range or across all history, if not specified
- with or without transaction logs
Now, let's dive into the examples of how this endpoint might be used.
Get all transactions on the specified wallet
Let us say we want to pull all transaction on the specified wallet.
This request will pull every transaction that ever happened on the specified wallet on ETH Mainnet. Make 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
Get Transaction endpoint returns the transaction data for the transaction with the specified hash.
This request will pull the transaction with the specified hash. Make 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'