Interface: NonFungibleTokenMetadata
General structure of Non-Fungible Token Metadata (in camelCase) as per official NEP-177 standard (https://github.com/near/NEPs/blob/master/neps/nep-0177.md).
Properties
copies
Optional
copies: number
number of copies of this set of metadata in existence when token was minted.
Defined in
description
Optional
description: string
free-form description
Defined in
expiresAt
Optional
expiresAt: number
When token expires, Unix epoch in milliseconds
Defined in
extra
Optional
extra: string
anything extra the NFT wants to store on-chain. Can be stringified JSON.
Defined in
issuedAt
Optional
issuedAt: number
When token was issued or minted, Unix epoch in milliseconds
Defined in
media
Optional
media: string
URL to associated media, preferably to decentralized, content-addressed storage
Defined in
mediaHash
Optional
mediaHash: string
Base64-encoded sha256 hash of content referenced by the media
field. Required if media
is included.
Defined in
reference
Optional
reference: string
URL to an off-chain JSON file with more info.
Defined in
referenceHash
Optional
referenceHash: string
Base64-encoded sha256 hash of JSON from reference field. Required if reference
is included.
Defined in
startsAt
Optional
startsAt: number
When token starts being valid, Unix epoch in milliseconds
Defined in
title
Optional
title: string
ex. "Arch Nemesis: Mail Carrier" or "Parcel #5055"
Defined in
updatedAt
Optional
updatedAt: number
When token was last updated, Unix epoch in milliseconds