Prepares a transaction to call the "add" function on the contract.
import { add } from "thirdweb/extensions/thirdweb"; const transaction = add({ contract, deployer: ..., deployment: ..., chainId: ..., metadataUri: ..., overrides: { ... }}); // Send the transaction...
function add( options: BaseTransactionOptions< AddParams | { asyncParams: () => Promise<AddParams> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "add" function.
let options: BaseTransactionOptions< AddParams | { asyncParams: () => Promise<AddParams> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.