Docs

ThirdwebContract.Prepare

Instantiate a low level Transaction object from a contract prepare call.

Useful for preparing, simulating and manipulating transactions before sending them to the blockchain.

Usage

ThirdwebTransaction transaction = await ThirdwebContract.Prepare(wallet, contract, "methodName", weiValue, parameters);