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