Interface: ProtocolReturnedNonFungibleTokenMetadata
General structure of Non-Fungible Token Metadata 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
expires_at
Optional
expires_at: 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
issued_at
Optional
issued_at: 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
media_hash
Optional
media_hash: 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
reference_hash
Optional
reference_hash: string
Base64-encoded sha256 hash of JSON from reference field. Required if reference
is included.
Defined in
starts_at
Optional
starts_at: 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
updated_at
Optional
updated_at: number
When token was last updated, Unix epoch in milliseconds