Replies: 2 comments 1 reply
-
Erigon has no index for filtering contracts. Also has no AccounID to “enumerate”.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Some further context for TrueBlocks: Introductory: https://trueblocks.io/docs/install/build-unchained-index/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's the most efficient way to enumerate Ethereum addresses with an Erigon archive node? Ideally I won't have to replay all transactions again. Specifically I am looking for a complete list of contract addresses, but I know I can just check if the address is a contract using
eth_getCode
.I can't just use the
from
andto
addresses of transactions because, for instance, a smart contract might have been created and always later called by internal transactions.I am considering using the RPC call
debug_accountRange
on every block. Is this the right method, correctly returning all accounts, and is there a more efficient way?Beta Was this translation helpful? Give feedback.
All reactions