CallConfig
Defined in: packages/agent/src/actor.ts:30
Configuration to make calls to the Replica.
Properties
Section titled “Properties”agent?
Section titled “agent?”
optional
agent:Agent
Defined in: packages/agent/src/actor.ts:35
An agent to use in this call, otherwise the actor or call will try to discover the agent to use.
canisterId?
Section titled “canisterId?”
optional
canisterId:string
|Principal
Defined in: packages/agent/src/actor.ts:45
The canister ID of this Actor.
effectiveCanisterId?
Section titled “effectiveCanisterId?”
optional
effectiveCanisterId:Principal
Defined in: packages/agent/src/actor.ts:50
The effective canister ID. This should almost always be ignored.
nonce?
Section titled “nonce?”
optional
nonce:Uint8Array
<ArrayBufferLike
>
Defined in: packages/agent/src/actor.ts:55
The nonce to use for this call. This is used to prevent replay attacks.
pollingOptions?
Section titled “pollingOptions?”
optional
pollingOptions:PollingOptions
Defined in: packages/agent/src/actor.ts:40
Options for controlling polling behavior.