Interface RpcProvider<T>

Stores information about rpc in certain blockchain.

Type Parameters

  • T

Hierarchy

  • RpcProvider

Properties

mainRpcTimeout?: number

Specifies timeout in ms after which mainRpc will be replaced with spareRpc (if spareRpc is defined)

rpcList: T[]

Contains rpc links in order of prioritization. Used instead of deprecated mainRpc and spareRpc fields.

Generated using TypeDoc