# Optimzation of costs

**URL:** <https://forum.fuel.network/t/optimzation-of-costs/6079>\
**Category:** General\
**Tags:** faqs\
**Created:** [June 28, 2024, 2:40pm UTC](https://forum.fuel.network/t/optimzation-of-costs/6079 "2024-06-28T14:40:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![miguel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/miguel/32/3064_2.png) [@miguel](https://forum.fuel.network/u/miguel)\
**Post date:** [June 28, 2024, 2:40pm UTC](https://forum.fuel.network/t/optimzation-of-costs/6079/1 "2024-06-28T14:40:18Z")

</div>

Firstly, I’m a big fan of Fuel Network. At the moment, I’m contributing to the TS SDK.

So, I wanted to know how we handle fees and their calculations. This [paper](https://hal.science/hal-03821290v2/file/ethereum_under_scrutiny.pdf) makes some considerations related to cost optimization, so I thought it would be cool to ask about it.

---

<div class="post-metadata">

**Author:** ![Raoufboukyxz](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/raoufboukyxz/32/3152_2.png) [@Raoufboukyxz](https://forum.fuel.network/u/Raoufboukyxz)\
**Post date:** [June 28, 2024, 10:14pm UTC](https://forum.fuel.network/t/optimzation-of-costs/6079/2 "2024-06-28T22:14:59Z")

</div>

> [@Minimum amount to claim a predicate utxo](https://forum.fuel.network/t/minimum-amount-to-claim-a-predicate-utxo/6043/2):
>
> Hi @Raoufboukyxz , Both the Typescript and Rust SDK offer some functionality to help you estimate gas for a transaction (even if that includes a predicate). While we don’t have exact tooling for only giving you the estimated gas used by a single predicate alone, you can just setup a transaction that includes this predicate and do a rough estimation that way. We are always working on better tooling that should give you even more precise information on gas usage in the future. For now, just use…
