Skip to main content
This guide will walk you through how to retrieve all transactions associated with a specific wallet address on the C-chain network using the Data API.

Step 1: Setup your account

First, ensure that you have set up AvaCloud and have access to your API key. If you’re new to Avacloud, create an account and obtain an API key.

Step 2: Get All Transactions for an Address

To get all transactions for a specific address you can use list transactions endpoint. You’ll need to specify the chainId and the address for which you want to retrieve the transactions. Here’s how you can do it:

Step 3: Run the script

Once you’ve copied the code into your preferred developer tool, you can run it using the following commands:
After running the script, you should see a JSON response similar to this in your terminal:
Congratulations 🎉 You’ve successfully retrieved all transactions for a wallet address on the C-chain using the Data API! With just a few lines of code, you can now access this data easily and integrate it into your projects.