Skip to content

CallConfig

Defined in: packages/agent/src/actor.ts:29

Configuration to make calls to the Replica.

optional agent: Agent

Defined in: packages/agent/src/actor.ts:34

An agent to use in this call, otherwise the actor or call will try to discover the agent to use.


optional canisterId: string | Principal

Defined in: packages/agent/src/actor.ts:44

The canister ID of this Actor.


optional effectiveCanisterId: Principal

Defined in: packages/agent/src/actor.ts:49

The effective canister ID. This should almost always be ignored.


optional nonce: Uint8Array<ArrayBufferLike>

Defined in: packages/agent/src/actor.ts:54

The nonce to use for this call. This is used to prevent replay attacks.


optional pollingOptions: PollingOptions

Defined in: packages/agent/src/actor.ts:39

Options for controlling polling behavior.