Replies: 2 comments 1 reply
-
What backend (eth node) are you using? For blockTag to work, the node should be run in archive mode. And it is observed that if the node is not run on archive mode, it silently ignores the block tag and returns you the current state's result. |
Beta Was this translation helpful? Give feedback.
1 reply
-
For anyone else using Alchemy and wondering if this works, it does, even in the free tier. Pass |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hi folks,
I'm not able to get the historical(a snapshot at a specific block) ERC20 token balances
I tried the same by calling
provide.call({to: address, callData: 'xxx'}, blockTag)
and still always got the latest balance.But I can get the correct historic ETH balance by calling
provide.getBalance(address, blockTag)
.Any help or idea will be greatly appreciated !
Thanks
Beta Was this translation helpful? Give feedback.
All reactions