Skip to content
English
Optimizing the Compute Requested on a transaction is important to ensure that the transaction is both processed in a timely manner as well as to avoid paying too much in priority fees.
In the v1 transaction format, the compute unit limit is set in the message config instead of a ComputeBudget instruction — and an unset limit defaults to zero, not 200k per instruction, so setting it explicitly becomes mandatory.
Web3.js v3
Output from a local Surfpool network
Output