etherscan-api
etherscan-api copied to clipboard
Incorrect balance returned
Thanks for building this API. I've used the API to retrieve my balance which has returned the incorrect value.
Array ( [status] => 1 [message] => OK [result] => 396448160000000000 )
Any help would be appreciated.
changing the function to transactionlist seems to work correctly.
PS: i wish that was my ETH balance.
It's probably your account balance in wei, so it's like 0.396... ether
@guyfi @olgierds Yes, this is balance in wei (1 eth = 10^18 wei)