Blockchain Explorer Development Tutorials, Guides & Insights
Unlock 2+ expert-curated blockchain explorer tutorials, real-world code snippets, and modern dev strategies. From fundamentals to advanced topics, boost your blockchain explorer skills on DeveloperBreeze.
Adblocker Detected
It looks like you're using an adblocker. Our website relies on ads to keep running. Please consider disabling your adblocker to support us and access the content.
How to Query ERC-20 Token Balances and Transactions Using Ethers.js and Etherscan API
To follow along with this tutorial, you’ll need:
- Node.js installed on your machine.
- A basic understanding of JavaScript.
- An Etherscan API key (explained below).
- Familiarity with Ethers.js for blockchain interaction.
Etherscan vs Infura: Choosing the Right API for Your Blockchain Application
- Etherscan: Use to fetch transaction history and display it in your dApp.
- Infura: Use to allow users to send transactions or interact with smart contracts.
Etherscan and Infura serve different purposes in the Ethereum ecosystem. Etherscan is perfect for applications that need to query blockchain data, while Infura is essential for real-time interaction with the blockchain. By understanding the strengths of each, you can choose the best service for your project, or even combine them to build powerful Ethereum applications.