sdk-js

@nevermined-io/sdk - v3.0.48 / 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:855


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 | { [key: string]: any; }>

Parameters

Name Type
params ValidationParams
from NvmAccount
txparams? TxParameters

Returns

Promise<void | { [key: string]: any; }>

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:857