We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
value
tinybars
When defining value as part of a contract call, the amount is denominated in hbars however it should be in tinybars Example code:
hbars
const depositTx = await WHBAR.deposit({value: hbarAmount, gasLimit: 150_000});
In this case hbarAmount is in hbars and not tinybars
hbarAmount
The text was updated successfully, but these errors were encountered:
natanasow
Successfully merging a pull request may close this issue.
When defining
value
as part of a contract call, the amount is denominated inhbars
however it should be intinybars
Example code:
In this case
hbarAmount
is inhbars
and nottinybars
The text was updated successfully, but these errors were encountered: