Blockchain Development Programming Tutorials, Guides & Best Practices
Explore 30+ expertly crafted blockchain development tutorials, components, and code examples. Stay productive and build faster with proven implementation strategies and design patterns from 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.
Tutorial
How to Query ERC-20 Token Balances and Transactions Using Ethers.js and Etherscan API
- API Key: Replace
'YOUR_ETHERSCAN_API_KEY'with the API key you generated from Etherscan. - Wallet Address: Replace
'0xYourEthereumAddress'with the wallet address you want to query for token transactions. - Token Contract Address: Replace
'0xTokenContractAddress'with the contract address of the ERC-20 token you want to track.
node getTokenTransactions.jsOct 24, 2024
Read More Tutorial
Sending Transactions and Interacting with Smart Contracts Using Infura and Ethers.js
- Node.js installed on your machine.
- A basic understanding of JavaScript and blockchain concepts.
- An Ethereum wallet with some test ETH (using testnets like Goerli or Ropsten is recommended for testing).
- An Infura Project ID to access the Ethereum network.
If you don't have an Infura account yet, follow these steps:
Oct 24, 2024
Read More Tutorial
Understanding and Using the Etherscan API to Query Blockchain Data
https://api.etherscan.io/api?module=proxy&action=eth_getTransactionByHash&txhash=0xYourTransactionHash&apikey=YOUR_ETHERSCAN_API_KEYYou can also query ERC-20 token balances for a given address using the Etherscan API.
Oct 24, 2024
Read More