Skip to main content

Erc1155.get() method

Get a single NFT Metadata

Example

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

Signature:

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

Parameters

ParameterTypeDescription
tokenIdBigNumberishthe tokenId of the NFT to retrieve

Returns:

Promise<EditionMetadata>

The NFT metadata