Options when doing a Agent.query call.

interface QueryFields {
    methodName: string;
    arg: ArrayBuffer;
    effectiveCanisterId?: any;
}

Properties

methodName: string

The method name to call.

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

effectiveCanisterId?: any

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