3
0 Comments

ERC20 Balance Query With APIS (Day 228)

https://api.dev.theapis.io/api/v1/wallets?chain=ethereum&network=rinkeby&address=0xcDa9c5C22F06dC04310Da97A4df93Fb45AA1AEc2&erc20TokenContractAddresses=0xD92E713d051C37EbB2561803a3b5FBAbc4962431

How easy is it to query the token balance? With APIS, it is just one simple call, pass in these params:

  • chain: which blockchain
  • network: test net? main net? pass in the network. We used Rinkeby, a test network on ethereum in this example
  • erc20TokenContractAddress: which token? pass in the token contract address. We used the test net USDT token
  • address: pass in the wallet address that you are querying.
Trending on Indie Hackers
After 10M+ Views, 13k+ Upvotes: The Reddit Strategy That Worked for Me! 32 comments 🔥Roast my one-man design agency website 18 comments Launch on Product Hunt after 5 months of work! 16 comments Getting first 908 Paid Signups by Spending $353 ONLY. 14 comments Started as a Goodreads alternative, now it's taking a life of its own 12 comments I Sold My AI Startup for $1,500 and I'm Really Happy About It 11 comments