ERC-20 Balance Changes Substreams
ERC-20 is the most popular token standard for EVM-compatible blockchains. ERC-20 tokens such as USDT, USDC, or BUSD are among the most used ERC-20 tokens, so the demand for retrieving, tracking and transforming these kinds of tokens efficiently has increased lately.
Consider that you want to retrieve the current USDT balance of a specific address; the ERC-20 standard allows you to get this value by using the “balanceOf(address)” method of the smart contract. However, if you want to retrieve the full history of balance changes (USDT incoming and outgoing transfers), there is no straightforward way to do it. Substreams to the rescue!
Full article available on https://www.streamingfast.io/blog/erc-20-balance-changes-substreams