aggregate3Value

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

Example

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

Parameters

The options for the "aggregate3Value" function.

Type

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

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.