I'm using the Etherscan API to pull transactions logs for specific wallets, but I'm having a hard time trying to format the value correctly.
This is the url I'm working with Transaction Log
One of the transactions has a value of 206933340464 which in the etherscan site it looks like 0.00000020693334 if I use
web3.fromWei(206933340464,'ether')
I get 2.0693334. How can I format this value correctly?, or could it be that etherscan is providing wrong values?.
Cheers.
web3.fromWei(206933340464, 'ether')
, I get"0.000000206933340464"
.