Skip to content

fix: bep20 failed to obtain balance - #28

Open
webbrain-one wants to merge 1 commit into
Fenguoz:masterfrom
webbrain-one:webbrain/issue-24
Open

fix: bep20 failed to obtain balance#28
webbrain-one wants to merge 1 commit into
Fenguoz:masterfrom
webbrain-one:webbrain/issue-24

Conversation

@webbrain-one

Copy link
Copy Markdown

Closes #24

Bscscan returns "Error!" when the API key is missing, causing BEP20::balance() to decode an invalid result. Send the configured apikey with the proxy eth_call request so balanceOf returns the actual hex balance.
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

Successfully merging this pull request may close these issues.

bep20 failed to obtain balance

1 participant