Skip to main content

useERC721

This hook is designed to optimize fetching data from the popular ERC721 NFT interface. No ABI is required for this hook as it contains presets. Optimizations take into account Transfer event logs to refresh calls only when required.

Popular NFT standard. Common ERC721 contract calls and events.

const { name, symbol, tokenURI, metadata, ownerOf } = Contract.useERC721(networkId, address, tokenId);

Reference: Contract.useERC721

Alias: Contract.useNFT