Tracking Token Balances
As long as inflows and outflows of each Token Holder are tracked using each Block from the time of token issuance, the Balance of each Token holder can be accurately stored.
For example, at the block height of 30000, wallets 0xA, 0xB, and 0xC hold 100 tokens each. If any of these addresses decide to move their tokens, it will be reflected in our database immediately in the next block. So if 0xA decided to sell or transfer out 50 ALPHA tokens to 0xC, this event would be reflected at block height 30001, as shown below:
Token_Address | Block_Height | Holder_Address | Balance |
---|---|---|---|
Z | 30,000 | 0xA | 100 |
Z | 30,000 | 0xB | 100 |
Z | 30,000 | 0xC | 100 |
Z | 30,001 | 0xA | 50 |
Z | 30,001 | 0xB | 100 |
Z | 30,001 | 0xC | 150 |