Minimum amount to claim a predicate utxo

How to calculate the amount required to claim a predicate (gas)

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 dry-runs on a transaction you create with the SDKs.

1 Like

Ok, thanks for your response

1 Like

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