How to predict how much a transaction fee will cost?

Is there any method that can be called or algorithm that will help to calculate transaction fee?

3 Likes

Yup! ContractCallHandler in fuels::programs::contract - Rust

https://fuellabs.github.io/fuels-rs/master/calling-contracts/cost-estimation.html?highlight=estimate_transaction_cost#estimating-contract-call-cost

4 Likes

Thanks for an answer lot!

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.