Skip to main content

Multiwrap.(constructor)

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Constructs a new instance of the Multiwrap class

Signature:

constructor(network: NetworkOrSignerOrProvider, address: string, storage: ThirdwebStorage, options: {
readonlySettings?: {
chainId?: number | undefined;
rpcUrl: string;
} | undefined;
gasSettings?: {
maxPriceInGwei?: number | undefined;
speed?: "standard" | "fast" | "fastest" | undefined;
} | undefined;
gasless?: {
experimentalChainlessSupport?: boolean | undefined;
openzeppelin: {
relayerForwarderAddress?: string | undefined;
useEOAForwarder?: boolean | undefined;
relayerUrl: string;
};
} | {
biconomy: {
deadlineSeconds?: number | undefined;
apiId: string;
apiKey: string;
};
} | undefined;
} | undefined, abi: Abi, chainId: number, contractWrapper?: ContractWrapper<MultiwrapContract>);

Parameters

ParameterTypeDescription
networkNetworkOrSignerOrProvider
addressstring
storageThirdwebStorage
options{ readonlySettings?: { chainId?: number | undefined; rpcUrl: string; } | undefined; gasSettings?: { maxPriceInGwei?: number | undefined; speed?: "standard" | "fast" | "fastest" | undefined; } | undefined; gasless?: { experimentalChainlessSupport?: boolean | undefined; openzeppelin: { relayerForwarderAddress?: string | undefined; useEOAForwarder?: boolean | undefined; relayerUrl: string; }; } | { biconomy: { deadlineSeconds?: number | undefined; apiId: string; apiKey: string; }; } | undefined; } | undefined
abiAbi
chainIdnumber
contractWrapperContractWrapper<MultiwrapContract>(Optional)