ServicePlugin
@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
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
process
▸ process(params
, from
, txparams?
): Promise
\<void
>
Parameters
Name | Type |
---|---|
params | ValidationParams |
from | NvmAccount |
txparams? | TxParameters |
Returns
Promise
\<void
>
Defined in
track
▸ track(params
, from
, txparams?
): Promise
\<boolean
>
Parameters
Name | Type |
---|---|
params | ValidationParams |
from | NvmAccount |
txparams? | TxParameters |
Returns
Promise
\<boolean
>