multicall

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

Example

import { multicall } from "thirdweb/extensions/common";
const transaction = multicall({
contract,
data: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.