ComputeAssetRef
References a published dataset to compute on, in
nautilus.compute() and
nautilus.freeCompute().
Usage
const : ComputeAssetRef = {
: 'did:ope:1234abcd...'
}Properties
did
- Type:
string
The dataset to compute on.
serviceId (optional)
- Type:
string
Which service to use. Defaults to the asset's first compute service; an asset with no
compute service fails with a message saying so.
const : ComputeAssetRef = {
: 'did:ope:1234abcd...',
: 'ccb398c50d6abd5b456e8d7242bd856a1767a890b537c2f8c10ba8b8a10e6025'
}userdata (optional)
- Type:
Record<string, unknown>
Values for the service's consumer parameters.
const : ComputeAssetRef = {
: 'did:ope:1234abcd...',
: { : 'eu' }
}