isERC1155

Check if a contract supports the ERC1155 interface.

Example

import { isERC1155 } from "thirdweb/extensions/erc1155";
const result = await isERC1155({ contract });

Parameters

Returns

A boolean indicating whether the contract supports the ERC1155 interface.