Interface IClientConfig

This interface is used to configure the client.

See

  • providers of type Array<IProvider> is an array of providers used for API requests.
  • retryStrategyOn of type boolean (optional) is a flag to enable or disable the retry strategy.
  • periodOffset of type number | null is the period offset in seconds for syncing with the blockchain.
  • pingTimeoutMs of type number (optional) is the ping timeout in milliseconds for the provider.
interface IClientConfig {
    periodOffset?: number;
    pingTimeoutMs?: number;
    providers: IProvider[];
    retryStrategyOn?: boolean;
}

Properties

periodOffset?: number
pingTimeoutMs?: number
providers: IProvider[]
retryStrategyOn?: boolean

Generated using TypeDoc