getService
Find one service by id.
Usage
const = await .('did:ope:1234abcd...')
const = (, 'a-service-id') Returns
- Type:
ServiceV5 | undefined
undefined when the asset has no service with that id.
Parameters
ddo
- Type:
unknown
serviceId
- Type:
string