New answers tagged

1

You can able to check account balance by web3.eth.getBalance("your contract address")


0

web3.toDecimal(web3.fromWei(web3.eth.getBalance('wallet-address'))) OR web3.toDecimal(web3.fromWei(web3.eth.getBalance('wallet-address'),'ether'))


0

You can query the state from the "pending" block. { "id": 1, "jsonrpc": 2.0, "method": "eth_getBalance", "params": ["0x<address>", "pending"] } https://eth.wiki/json-rpc/API#eth_getBalance


Top 50 recent answers are included