DeveloperBreeze

Etherscan Api Development Tutorials, Guides & Insights

Unlock 3+ expert-curated etherscan api tutorials, real-world code snippets, and modern dev strategies. From fundamentals to advanced topics, boost your etherscan api skills on DeveloperBreeze.

How to Query ERC-20 Token Balances and Transactions Using Ethers.js and Etherscan API

Tutorial October 24, 2024

  • Contract Address: Replace '0xTokenContractAddress' with the address of the ERC-20 token (e.g., USDT, DAI, or any other ERC-20 token).
  • Wallet Address: Replace '0xYourEthereumAddress' with the wallet address whose token balance you want to query.
  • ABI: We are using a minimal ABI with just the balanceOf function, which is all that’s required to query the token balance.

Once you’ve added the code, run the script:

Understanding and Using the Etherscan API to Query Blockchain Data

Tutorial October 24, 2024

   https://api.etherscan.io/api?module=account&action=txlist&address=0xYourEthereumAddress&startblock=0&endblock=99999999&sort=asc&apikey=YOUR_API_KEY
   https://api.etherscan.io/api?module=account&action=tokentx&address=0xYourEthereumAddress&startblock=0&endblock=99999999&sort=asc&apikey=YOUR_API_KEY

Tracking Newly Created Tokens on Ethereum

Tutorial August 09, 2024
javascript nodejs

   npm init -y
   npm install web3 axios