isGetSupportedCallbackFunctionsSupported

Checks if the getSupportedCallbackFunctions method is supported by the given contract.

Example

import { isGetSupportedCallbackFunctionsSupported } from "thirdweb/extensions/modular";
const supported =
await isGetSupportedCallbackFunctionsSupported(contract);
function isGetSupportedCallbackFunctionsSupported(
contract: Readonly<ContractOptions<any>>,
): Promise<boolean>;

Parameters

The ThirdwebContract.

Type

let contract: Readonly<ContractOptions<any>>;

Returns

let returnType: Promise<boolean>;

A promise that resolves to a boolean indicating if the getSupportedCallbackFunctions method is supported.