Options when doing a Agent.call call.

interface CallOptions {
    methodName: string;
    arg: ArrayBuffer;
    effectiveCanisterId: string | types.Principal;
}

Properties

methodName: string

The method name to call.

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

effectiveCanisterId: string | types.Principal

An effective canister ID, used for routing. Usually the canister ID, except for management canister calls.