Type Alias GetPollOptions<transport>

GetPollOptions<transport>: (GetTransportConfig<transport>["type"] extends "webSocket"
    ? {
        batch?: undefined;
        poll?: false;
        pollingInterval?: undefined;
    }
    : never) | {
    batch?: boolean;
    poll?: true;
    pollingInterval?: number;
}

Type Parameters

Type declaration

  • Optionalbatch?: boolean

    Whether or not the transaction hashes should be batched on each invocation.

    true
    
  • Optionalpoll?: true
  • OptionalpollingInterval?: number

    Polling frequency (in ms). Defaults to Client's pollingInterval config.

    client.pollingInterval