UpdateCallOptions
Defined in: pocket-ic-types.ts:673
Options for making an update call to a given canister.
Properties
Section titled “Properties”
optional
arg:ArrayBufferLike
Defined in: pocket-ic-types.ts:694
A Candid encoded argument to pass to the canister’s method. Defaults to an empty ArrayBuffer.
canisterId
Section titled “canisterId”canisterId:
Principal
Defined in: pocket-ic-types.ts:683
The Principal of the canister to update.
method
Section titled “method”method:
string
Defined in: pocket-ic-types.ts:688
The method to call on the canister.
sender?
Section titled “sender?”
optional
sender:Principal
Defined in: pocket-ic-types.ts:678
The Principal to send the request as. Defaults to the anonymous principal.
targetSubnetId?
Section titled “targetSubnetId?”
optional
targetSubnetId:Principal
Defined in: pocket-ic-types.ts:699
The ID of the subnet that the canister resides on.