import { HttpClient } from '../../../common/models/http-client'; import { BlockchainName } from '../../blockchain/models/blockchain-name'; import Web3 from 'web3'; import { provider } from 'web3-core'; export interface Configuration { readonly rpcProviders: Partial>; readonly walletProvider?: WalletProvider; readonly httpClient?: HttpClient; readonly providerAddress?: string; } export interface RpcProvider { readonly mainRpc: string; readonly spareRpc?: string; readonly mainPrcTimeout?: number; readonly healthCheckTimeout?: number; } export interface WalletProvider { readonly core: provider | Web3; readonly address: string; readonly chainId: number | string; }