Docs

aggregate

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

Example

import { aggregate } from "thirdweb/extensions/multicall3";
const transaction = aggregate({
contract,
calls: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.