XYOracleNetwork/clients

View on GitHub
packages/automation-witness-server/src/Jobs/EthereumGas/getJob.ts

Summary

Maintainability
A
1 hr
Test Coverage
import type { Job } from '@xyo-network/shared'

import { getTask } from './getTask.js'

const name = 'ethereumGasWitness'

export const getJob = (): Job => {
  const schedule: string = process.env.CRYPTO_MARKET_WITNESS_JOB_SCHEDULE || '10 minutes'
  const task = getTask()
  return {
    name, schedule, task,
  }
}