Skip to content
LogoLogo

getStatsForService

Indexed order counts and prices for one service.

Usage

const  = await .('did:ope:1234abcd...')
const  = ()[0].
 
const  = (, ) 

Returns

  • Type: Stats | undefined

Derived by the indexer, not signed by the publisher. For an authoritative current price, read it from the chain with getPricingInfo instead.

Parameters

ddo

  • Type: unknown

serviceId

  • Type: string