Reputation: 89
How do I get contract's all holders with balances on BSC network?
ethereumetl export_traces --start-block 0 --end-block 500000 --provider-uri https://bsc-dataseed1.ninicoin.io --batch-size 100 --output traces.csv
I get following error message:
ValueError: {'code': -32601, 'message': 'the method trace_block does not exist/is not available'}
This made me think that maybe the tool does not support BSC.
So any ideas? Have been banging my head to the wall for couple days now.
Upvotes: 0
Views: 1778
Reputation: 83
CovalentHQ's API has paging built into it. You could call it for each page of 1000 results and append each page to a file using python.
Upvotes: -1