CallOptions
Defined in: packages/core/src/agent/agent/api.ts:103
Options when doing a Agent.call call.
Properties
Section titled “Properties”arg:
Uint8Array
Defined in: packages/core/src/agent/agent/api.ts:112
A binary encoded argument. This is already encoded and will be sent as is.
effectiveCanisterId
Section titled “effectiveCanisterId”effectiveCanisterId:
string|Principal
Defined in: packages/core/src/agent/agent/api.ts:118
An effective canister ID, used for routing. Usually the canister ID, except for management canister calls.
https://internetcomputer.org/docs/current/references/ic-interface-spec/#http-effective-canister-id
methodName
Section titled “methodName”methodName:
string
Defined in: packages/core/src/agent/agent/api.ts:107
The method name to call.
nonce?
Section titled “nonce?”
optionalnonce:Uint8Array<ArrayBufferLike>
Defined in: packages/core/src/agent/agent/api.ts:123
An optional nonce to use for the call, used to prevent replay attacks.