QueryCallOptions
Defined in: packages/pic/src/pocket-ic-types.ts:879
Options for making a query call to a given canister.
Properties
Section titled “Properties”
optionalarg:Uint8Array<ArrayBufferLike>
Defined in: packages/pic/src/pocket-ic-types.ts:900
A Candid encoded argument to pass to the canister’s method. Defaults to an empty Uint8Array.
canisterId
Section titled “canisterId”canisterId:
Principal
Defined in: packages/pic/src/pocket-ic-types.ts:889
The Principal of the canister to query.
method
Section titled “method”method:
string
Defined in: packages/pic/src/pocket-ic-types.ts:894
The method to call on the canister.
sender?
Section titled “sender?”
optionalsender:Principal
Defined in: packages/pic/src/pocket-ic-types.ts:884
The Principal to send the request as. Defaults to the anonymous principal.
targetSubnetId?
Section titled “targetSubnetId?”
optionaltargetSubnetId:Principal
Defined in: packages/pic/src/pocket-ic-types.ts:905
The ID of the subnet that the canister resides on.