Skip to main content

Erc721.get() method

Get a single NFT Metadata

Example

const tokenId = 0;
const nft = await contract.nft.get(tokenId);

Signature:

get(tokenId: BigNumberish): Promise<NFTMetadataOwner>;

Parameters

ParameterTypeDescription
tokenIdBigNumberishthe tokenId of the NFT to retrieve

Returns:

Promise<NFTMetadataOwner>

The NFT metadata