Skip to main content
Version: 0.2.3

Interface: AssetWithAccessDetailsAndPrice

@types.AssetWithAccessDetailsAndPrice

Hierarchy

Properties

@context

@context: string[]

Contexts used for validation.

Inherited from

AssetWithAccessDetails.@context

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/DDO/DDO.d.ts:11


accessDetails

accessDetails: AccessDetails

Inherited from

AssetWithAccessDetails.accessDetails

Defined in

src/@types/Compute.ts:65


chainId

chainId: number

ChainId of the network the DDO was published to.

Inherited from

AssetWithAccessDetails.chainId

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/DDO/DDO.d.ts:33


credentials

Optional credentials: Credentials

Describes the credentials needed to access a dataset in addition to the services definition.

Inherited from

AssetWithAccessDetails.credentials

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/DDO/DDO.d.ts:49


datatokens

datatokens: AssetDatatoken[]

Contains information about the ERC20 Datatokens attached to asset services.

Inherited from

AssetWithAccessDetails.datatokens

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/Asset.d.ts:130


event

event: AssetLastEvent

Contains information about the last transaction that created or updated the DDO.

Inherited from

AssetWithAccessDetails.event

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/Asset.d.ts:135


id

id: string

DID, descentralized ID. Computed as sha256(address of NFT contract + chainId)

Inherited from

AssetWithAccessDetails.id

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/DDO/DDO.d.ts:17


metadata

metadata: Metadata

Stores an object describing the asset.

Inherited from

AssetWithAccessDetails.metadata

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/DDO/DDO.d.ts:38


nft

nft: AssetNft

Contains information about the ERC721 NFT contract which represents the intellectual property of the publisher.

Inherited from

AssetWithAccessDetails.nft

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/Asset.d.ts:125


nftAddress

nftAddress: string

NFT contract address

Inherited from

AssetWithAccessDetails.nftAddress

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/DDO/DDO.d.ts:28


orderPriceAndFees

orderPriceAndFees: OrderPriceAndFees

Defined in

src/@types/Compute.ts:69


purgatory

purgatory: Purgatory

Contains information about an asset's purgatory status defined in list-purgatory. Marketplace interfaces are encouraged to prevent certain user actions like downloading on assets in purgatory.

Inherited from

AssetWithAccessDetails.purgatory

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/Asset.d.ts:147


services

services: Service[]

Stores an array of services defining access to the asset.

Inherited from

AssetWithAccessDetails.services

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/DDO/DDO.d.ts:43


stats

stats: Stats

The stats section contains different statistics fields. This section is added by Aquarius

Inherited from

AssetWithAccessDetails.stats

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/Asset.d.ts:140


version

version: string

Version information in SemVer notation referring to the DDO spec version

Inherited from

AssetWithAccessDetails.version

Defined in

node_modules/@oceanprotocol/lib/dist/src/@types/DDO/DDO.d.ts:23