Skip to content

CallConfig

Defined in: packages/core/src/agent/actor.ts:30

Configuration to make calls to the Replica.

optional agent?: Agent

Defined in: packages/core/src/agent/actor.ts:35

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/core/src/agent/actor.ts:45

The canister ID of this Actor.


optional effectiveCanisterId?: Principal

Defined in: packages/core/src/agent/actor.ts:50

The effective canister ID.


optional nonce?: Uint8Array<ArrayBufferLike>

Defined in: packages/core/src/agent/actor.ts:55

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


optional pollingOptions?: PollingOptions

Defined in: packages/core/src/agent/actor.ts:40

Options for controlling polling behavior.