Engine Update: Transaction Gas Management

Farhan Khwaja

We are thrilled to share that the latest version of Engine, v0.0.38, has been officially released and is now accessible on our Docker Hub Repository. This update brings enhancements that improve functionality without introducing any breaking changes, ensuring a smooth transition for all users.

What’s New in v0.0.38?

  • Enhanced Gas Management in Transactions: You can now specify gas-related parameters (gas, maxFeePerGas, and maxPriorityFeePerGas) for a transaction, currently available on end-point POST /contract/:chain/:contractAddress/write. This is an important update towards giving the developers greater control over the costs associated with executing transactions.
"functionName": "transfer",
"args": ["0x3ecdbf3b911d0e9052b64850693888b008e18373", "2"],
"txOverrides": {
"gas": "130000",
"maxFeePerGas": "1100570",
"maxPriorityFeePerGas": "1100570"

Example: How to pass gas overrides

  • Deployment Endpoint Enhancement: Publishing a contract with POST /deploy/:chain/:publisher/:contractName should now accurately resolve the deployed contract address in all cases. Deployed addresses are provided in the response (for thirdweb prebuilts and some other contracts) or can be queried with GET /transaction/status/:queueId.

We encourage you to update your Engine Instances to take advantage of these new features and improvements.

What is Engine?

thirdweb Engine is an open-source server for your app to read, write, and deploy contracts at production scale.

Self-host for free or get a cloud-hosted Engine for $99/month.