1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
ocean.js/docs/interfaces/AssetNft.md
2023-05-02 18:18:30 +01:00

1.9 KiB

@oceanprotocol/lib / Exports / AssetNft

Interface: AssetNft

Table of contents

Properties

Properties

address

address: string

Contract address of the deployed ERC721 NFT contract.

Defined in

@types/Asset.ts:8


created

created: string

Contains the date of NFT creation.

Defined in

@types/Asset.ts:44


name

name: string

Name of NFT set in contract.

Defined in

@types/Asset.ts:14


owner

owner: string

ETH account address of the NFT owner.

Defined in

@types/Asset.ts:26


state

state: 0 | 2 | 1 | 3 | 4 | 5

State of the asset reflecting the NFT contract value. 0 Active. 1 End-of-life. 2 Deprecated (by another asset). 3 Revoked by publisher. 4 Ordering is temporary disabled. 5 Unlisted in markets.

Defined in

@types/Asset.ts:38


symbol

symbol: string

Symbol of NFT set in contract.

Defined in

@types/Asset.ts:20


tokenURI

tokenURI: string

NFT token URI.

Defined in

@types/Asset.ts:50