TokenERC20History.getAllHolderBalances() method
Get all holder balances
Example
const allHolderBalances = await contract.history.getAllHolderBalances();
Signature:
getAllHolderBalances(): Promise<TokenHolderBalance[]>;
Returns:
Promise<TokenHolderBalance[]>
- A JSON object of all token holders and their corresponding balances
Remarks
Lets you get all token holders and their corresponding balances