-
Notifications
You must be signed in to change notification settings - Fork 119
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
[Question] How to accurately calculate the transfer fee? #124
Comments
Fee estimation shortage may differ from 2 to 100 grams, but always less then real fee. |
same, here is the code piece:
then i sum it all up:
eventually such a test fails:
Error:
i calculate |
or this error:
its always off by 100000 |
Related issue: ton-org/ton#23 |
it's always off by 100000, it's driving me crazy:
here is the |
here are the fees from
here is the
|
ok, in my case the missing 100000 was gas fee for the receiver wallet. The expected |
May I ask how to convert mnemonics into public and private keys? |
@895268679long |
Hello, I've faced with the issue that estimated fee doesn't math the real fee paid for the transfer.
Estimation output
Sum of
storage_fee + in_fwd_fee + fwd_fee + gas_fee
equals 5872108 which is 2 gram less then real fee paid for the transaction https://testnet.tonscan.org/tx/2xRWxV-7sIxMWpT8xmLGYgc5Z8YOk93GZVURJzw2Ro0= (0,00587211 TON = 5872110).How to accurately calculate the transfer fee?
The text was updated successfully, but these errors were encountered: