Prepares a transaction to call the "aggregate3" function on the contract.
import { sendTransaction } from "thirdweb";import { aggregate3 } from "thirdweb/extensions/multicall3"; const transaction = aggregate3({ contract, calls: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function aggregate3( options: BaseTransactionOptions< | Aggregate3Params | { asyncParams: () => Promise<Aggregate3Params> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "aggregate3" function.
let options: BaseTransactionOptions< Aggregate3Params | { asyncParams: () => Promise<Aggregate3Params> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.