manager params provider type

This commit is contained in:
smart_ex 2022-06-29 13:44:58 +10:00
parent b4235ec8f7
commit afe875a263
1 changed files with 2 additions and 2 deletions

4
index.d.ts vendored
View File

@ -4,7 +4,7 @@ import { TransactionReceipt } from '@ethersproject/abstract-provider'
import PromiEvent from 'web3-core-promievent'
import { GasOracleOptions, GasPriceOracle } from 'gas-price-oracle'
import { Mutex } from 'async-mutex'
import { JsonRpcProvider } from '@ethersproject/providers'
import { Provider } from '@ethersproject/providers'
export interface TransactionData {
to: string
@ -45,7 +45,7 @@ export interface TxManagerParams {
broadcastNodes?: string[]
config?: TxManagerConfig
gasPriceOracleConfig?: GasOracleOptions
provider: JsonRpcProvider
provider?: typeof Provider
}
export class TxManager {