Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect balance returned #4

Open
guyfi opened this issue Feb 11, 2018 · 2 comments
Open

Incorrect balance returned #4

guyfi opened this issue Feb 11, 2018 · 2 comments

Comments

@guyfi
Copy link

guyfi commented Feb 11, 2018

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.

@olgierds
Copy link

olgierds commented Mar 6, 2018

It's probably your account balance in wei, so it's like 0.396... ether

@dzarezenko
Copy link
Owner

@guyfi @olgierds Yes, this is balance in wei (1 eth = 10^18 wei)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants