Skip to content

Commit

Permalink
Merge branch 'db/docs/transaction-optimisation' of https://github.com…
Browse files Browse the repository at this point in the history
…/FuelLabs/fuels-ts into db/docs/transaction-optimisation
  • Loading branch information
danielbate committed Jan 2, 2025
2 parents 32b3145 + 23047d8 commit 48f00eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Under the hood, the `transfer` call is making multiple calls to the network to b

This process can be optimized by optimistically building the transaction on page load, like so:

<<< @./snippets/optimistic-transactions-after.ts#main{ts:line-numbers}
<<< @./snippets/optimistic-predicates-after.ts#main{ts:line-numbers}

> [!NOTE]
> Any change to the underlying transaction will require re-estimation and re-funding of the transaction. Otherwise the transaction could increase in size and therefore cost, causing the transaction to fail.
Expand Down

0 comments on commit 48f00eb

Please sign in to comment.