Skip to main content

StandardErc721.get() method

Get a single NFT Metadata

Example

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

Signature:

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

Parameters

ParameterTypeDescription
tokenIdBigNumberishthe tokenId of the NFT to retrieve

Returns:

Promise<NFT>

The NFT metadata