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
Parameter | Type | Description |
---|---|---|
tokenId | BigNumberish | the tokenId of the NFT to retrieve |
Returns:
Promise<NFTMetadataOwner>
The NFT metadata