getSupportedCallbackFunctions

Calls the "getSupportedCallbackFunctions" function on the contract.

Example

import { getSupportedCallbackFunctions } from "thirdweb/extensions/modules";
const result = await getSupportedCallbackFunctions({
contract,
});
function getSupportedCallbackFunctions(options: BaseTransactionOptions) : Promise<readonly Array<{ mode: number; selector: `0x${string}` }>>

Parameters

The options for the getSupportedCallbackFunctions function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<readonly Array<{ mode: number; selector: `0x${string}` }>>

The parsed result of the function call.