'how can we get token holders from token?
I have created my own ERC-20 token (AJR) and deploy on Ethereum private node, Now I want to list all the transaction by Token name.
Also, I need to list down all the token holders by using contract address or token name.
I try to fetch using web3 but I get only symbol, name, total supply, etc. but not token holders or transactions
Below is my sample code:
from web3 import Web3
Web3 = Web3(Web3.HTTPProvider('http://127.0.0.1:8545'))
contract_instance = Web3.eth.contract(contract_address, abi=abi)
print(contract_instance.functions.name().call())
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
