Skip to main content

ServicePlugin

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

Interface: ServicePlugin\<T>

Type parameters

NameType
Textends Service

Implemented by

Table of contents

Methods

Methods

accept

accept(params): Promise\<boolean>

Parameters

NameType
paramsValidationParams

Returns

Promise\<boolean>

Defined in

src/types/DDOTypes.ts:851


createService

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

Parameters

NameType
publisherNvmAccount
metadataMetaData
serviceAttributesServiceAttributes
nftAttributes?NFTAttributes
pricedData?PricedMetadataInformation

Returns

T

Defined in

src/types/DDOTypes.ts:841


process

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

Parameters

NameType
paramsValidationParams
fromNvmAccount
txparams?TxParameters

Returns

Promise\<void>

Defined in

src/types/DDOTypes.ts:849


track

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

Parameters

NameType
paramsValidationParams
fromNvmAccount
txparams?TxParameters

Returns

Promise\<boolean>

Defined in

src/types/DDOTypes.ts:853