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