aggregate3

Prepares a transaction to call the "aggregate3" function on the contract.

Example

import { aggregate3 } from "thirdweb/extensions/multicall3";
const transaction = aggregate3({
contract,
calls: ...,
overrides: {
...
}
});
// Send the transaction
...
function aggregate3(
| { asyncParams: () => Promise<Aggregate3Params> }
>,

Parameters

The options for the "aggregate3" function.

Type

Aggregate3Params | { asyncParams: () => Promise<Aggregate3Params> }
>;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.