Erc1155.get() method
Get a single NFT Metadata
Example
const nft = await contract.get("0");
Signature:
get(tokenId: BigNumberish): Promise<EditionMetadata>;
Parameters
Parameter | Type | Description |
---|---|---|
tokenId | BigNumberish | the tokenId of the NFT to retrieve |
Returns:
Promise<EditionMetadata>
The NFT metadata