sdk-js

@nevermined-io/sdk - v3.0.44 / ServicePlugin

Interface: ServicePlugin<T>

Type parameters

Name Type
T extends Service

Implemented by

Table of contents

Methods

Methods

accept

accept(params): Promise<boolean>

Parameters

Name Type
params ValidationParams

Returns

Promise<boolean>

Defined in

src/types/DDOTypes.ts:851


createService

createService(publisher, metadata, serviceAttributes, nftAttributes?, pricedData?): T

Parameters

Name Type
publisher NvmAccount
metadata MetaData
serviceAttributes ServiceAttributes
nftAttributes? NFTAttributes
pricedData? PricedMetadataInformation

Returns

T

Defined in

src/types/DDOTypes.ts:841


process

process(params, from, txparams?): Promise<void>

Parameters

Name Type
params ValidationParams
from NvmAccount
txparams? TxParameters

Returns

Promise<void>

Defined in

src/types/DDOTypes.ts:849


track

track(params, from, txparams?): Promise<boolean>

Parameters

Name Type
params ValidationParams
from NvmAccount
txparams? TxParameters

Returns

Promise<boolean>

Defined in

src/types/DDOTypes.ts:853