Options when doing a Agent.query call.

interface QueryFields {
    methodName: string;
    arg: ArrayBuffer;
    effectiveCanisterId?: 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?: types.Principal

Overrides canister id for path to fetch. This is used for management canister calls.