Skip to content

PollingOptions

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

Options for controlling polling behavior

optional blsVerify: VerifyFunc

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

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


optional preSignReadStateRequest: boolean

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

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:68

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:51

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()