Table of Contents

Struct NFT

Namespace
Thirdweb
Assembly
Thirdweb.dll

Represents an NFT with metadata, owner, type, and supply information.

[Serializable]
public struct NFT
Inherited Members
Extension Methods

Properties

Metadata

Gets or sets the metadata of the NFT.

public NFTMetadata Metadata { readonly get; set; }

Property Value

NFTMetadata

Owner

Gets or sets the owner address of the NFT. This is only applicable for ERC721 tokens.

public string Owner { readonly get; set; }

Property Value

string

QuantityOwned

Gets or sets the quantity owned by the user. This is only applicable for ERC1155 tokens.

public BigInteger? QuantityOwned { readonly get; set; }

Property Value

BigInteger?

Supply

Gets or sets the supply of the NFT.

public BigInteger? Supply { readonly get; set; }

Property Value

BigInteger?

Type

Gets or sets the type of the NFT.

public NFTType Type { readonly get; set; }

Property Value

NFTType