Skip to content

CallOptions

Defined in: packages/agent/src/agent/api.ts:102

Options when doing a Agent.call call.

arg: Uint8Array

Defined in: packages/agent/src/agent/api.ts:111

A binary encoded argument. This is already encoded and will be sent as is.


effectiveCanisterId: string | Principal

Defined in: packages/agent/src/agent/api.ts:117

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

Defined in: packages/agent/src/agent/api.ts:106

The method name to call.