Skip to content

PollingOptions

Defined in: packages/agent/src/polling/index.ts:41

Options for controlling polling behavior

optional blsVerify: VerifyFunc

Defined in: packages/agent/src/polling/index.ts:58

Optional replacement function that verifies the BLS signature of a certificate.


optional preSignReadStateRequest: boolean

Defined in: packages/agent/src/polling/index.ts:53

Whether to reuse the same signed request for polling or create a new unsigned request each time.

false

optional request: ReadStateRequest

Defined in: packages/agent/src/polling/index.ts:64

The request to use for polling. If not provided, a new request will be created. This is only used if preSignReadStateRequest is set to false.


optional strategy: PollStrategy

Defined in: packages/agent/src/polling/index.ts:47

A polling strategy that dictates how much and often we should poll the read_state endpoint to get the result of an update call.

defaultStrategy()