Skip to content

getComputeStatus

Request the status of a previously started compute job.

Usage

import { Nautilus } from '@deltadao/nautilus'
import { Wallet } from 'ethers'
 
const nautilus = await Nautilus.create(new Wallet('0x1234'))
 
await nautilus.getComputeStatus({ 
    jobId: 'abcd1234', 
    providerUri: 'https://provider.dev.pontus-x.eu'
}) 

Returns

ComputeJob | ComputeJob[]

A compute job object containing information abot the job status.

Parameters

config

  • Type: ComputeStatusConfig

The configuration object to request the compute job status.

Properties

jobId
  • Type: string

The jobId of the compute job to request a status for.

await nautilus.getComputeStatus({
    jobId: 'abcd1234', 
    providerUri: 'https://provider.dev.pontus-x.eu' 
})
providerUri
  • Type: string

The uri of the provider that hosts the compute job to request a status for.

await nautilus.getComputeStatus({
    jobId: 'abcd1234', 
    providerUri: 'https://provider.dev.pontus-x.eu'
})