When I send a message to contract, I use mode pay fees separately from balance, not from amount), but the tx is always failed untils I put 0.05 ton into message amount? I not sure the reason why? What happen when the fee is greater than 0.05, how can we make it dynamic?
Nov 8, 2023, 3:53 PM
“Pay fees separately” is related to forward fees for sending message. Gas fees are still covered using the value of the message (unless contract decides to cover them on its own)
Nov 8, 2023, 3:53 PM
One more point, do we have any stuff such as estimate gas fees to avoid tx failed?
Nov 8, 2023, 3:56 PM
Some APIs have such methods, but usually you just add some constant value for fees
Nov 8, 2023, 4:02 PM