This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Replies: 1 comment
-
If web3.eth.getBalance() returns 0n while the wallet has ETH, possible causes include: |
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.
-
I run in console
const web3 = new Web3('https://eth-mainnet.g.alchemy.com/v2/'+ALCHEMY_API_KEY); await web3.eth.getBalance("0x"+PUBLIC_WALLET_ADDRESS)
it's return 0n
But on my ballance 0.6 ETH
Beta Was this translation helpful? Give feedback.
All reactions