Prepares a transaction to call the "add" function on the contract.
import { sendTransaction } from "thirdweb";import { add } from "thirdweb/extensions/thirdweb"; const transaction = add({ contract, deployer: ..., deployment: ..., chainId: ..., metadataUri: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function add( >,
The options for the "add" function.
A prepared transaction object.