XYOracleNetwork/clients

View on GitHub
packages/automation-witness-server/src/Model/ProviderOptions.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { InfuraProviderConfig } from './InfuraProviderConfig.js'
import type { PocketProviderConfig } from './PocketProviderConfig.js'

export interface ProviderOptions {
  alchemy?: string // Alchemy API Token
  etherscan?: string // Etherscan API Token
  infura?: InfuraProviderConfig | string // INFURA Project ID or { projectId, projectSecret }
  pocket?: PocketProviderConfig | string // Pocket Network Application ID or { applicationId, applicationSecretKey }
  quorum?: number // The number of backends that must agree (default: 2 for mainnet, 1 for testnets)
}