1

I'm planning to run a Ethereum server for getting wallet balances at a specific time, which type of node should i run, fast sync will work ? or should i go for archive node ?

0

For this purpose you need to use an archive node, that's because with this mode you have an historial of all states of values and balances of an account.

Fast sync doesn't have an historial, so you can't get balances or states in past blocks. Only the state for certain blocks kept in memory (128 for Geth).

To run an archive node to have an historial about data, you must use --gcmode archive to disable pruning.

If you use JSON RPC to get the balances using eth_getBalance, you can pass to this method the block parameter to see the balances at a specific block.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.