getTransferValidationFunction

Calls the "getTransferValidationFunction" function on the contract.

Example

import { RoyaltyERC1155 } from "thirdweb/modules";
const result = await RoyaltyERC1155.getTransferValidationFunction({
contract,
});
function getTransferValidationFunction(
): Promise<readonly [`0x${string}`, boolean]>;

Parameters

The options for the getTransferValidationFunction function.

Type

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

Returns

let returnType: Promise<readonly [`0x${string}`, boolean]>;

The parsed result of the function call.