isApprovedForAll

Calls the "isApprovedForAll" function on the contract.

Example

import { isApprovedForAll } from "thirdweb/extensions/erc1155";
const result = await isApprovedForAll({
contract,
owner: ...,
operator: ...,
});
function isApprovedForAll(
): Promise<boolean>;

Parameters

The options for the isApprovedForAll function.

Type

Returns

let returnType: Promise<boolean>;

The parsed result of the function call.