mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
2.8 KiB
2.8 KiB
@oceanprotocol/lib / Exports / Service
Interface: Service
Table of contents
Properties
- additionalInformation
- compute
- datatokenAddress
- description
- files
- id
- name
- serviceEndpoint
- timeout
- type
Properties
additionalInformation
• Optional
additionalInformation: any
Stores service specific additional information, this is customizable by publisher
Defined in
compute
• Optional
compute: ServiceComputeOptions
If service is of type compute, holds information about the compute-related privacy settings & resources.
Defined in
datatokenAddress
• datatokenAddress: string
Datatoken address
Defined in
description
• Optional
description: string
Service description
Defined in
files
• files: string
Encrypted file URLs.
Defined in
id
• id: string
Unique ID
Defined in
name
• Optional
name: string
Service friendly name
Defined in
serviceEndpoint
• serviceEndpoint: string
Provider URL (schema + host).
Defined in
timeout
• timeout: number
Describing how long the service can be used after consumption is initiated.
Defined in
type
• type: string
Type of service (access, compute, wss.