paint-brush
The Best Method for Bulk Fetching ERC20 Token Balancesby@martinkirov
732 reads
732 reads

The Best Method for Bulk Fetching ERC20 Token Balances

by Martin | Syve10mJune 8th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Fetching token balances for one or more addresses (at a specific point in time) is a super common task, regardless of what it is that you’re building. It isn’t exactly obvious from just scrolling through the list of available JSON-RPC endpoints. The other issue is figuring out how to do this for multiple addresses across different time periods in a reasonable amount of time. I’ll go over the different methods available (and their issues), starting with the “naive approach” and ending with the best approach.
featured image - The Best Method for Bulk Fetching ERC20 Token Balances
Martin | Syve HackerNoon profile picture
Martin | Syve

Martin | Syve

@martinkirov

Data Scientist | Software Engineer | Working on indexing the blockchain at https://www.syve.ai

0-item
1-item

STORY’S CREDIBILITY

Guide

Guide

Walkthroughs, tutorials, guides, and tips. This story will teach you how to do something new or how to do something better.

Opinion piece / Thought Leadership

Opinion piece / Thought Leadership

The is an opinion piece based on the author’s POV and does not necessarily reflect the views of HackerNoon.

L O A D I N G
. . . comments & more!

About Author

Martin | Syve HackerNoon profile picture
Martin | Syve@martinkirov
Data Scientist | Software Engineer | Working on indexing the blockchain at https://www.syve.ai

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite