Docs

isERC721

Check if a contract supports the ERC721 interface.

Example

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

Parameters

Returns

A boolean indicating whether the contract supports the ERC721 interface.