Skip to content

UpdateCallOptions

Defined in: pocket-ic-types.ts:744

Options for making an update call to a given canister.

Principal

optional arg: ArrayBufferLike

Defined in: pocket-ic-types.ts:765

A Candid encoded argument to pass to the canister’s method. Defaults to an empty ArrayBuffer.


canisterId: Principal

Defined in: pocket-ic-types.ts:754

The Principal of the canister to update.


method: string

Defined in: pocket-ic-types.ts:759

The method to call on the canister.


optional sender: Principal

Defined in: pocket-ic-types.ts:749

The Principal to send the request as. Defaults to the anonymous principal.


optional targetSubnetId: Principal

Defined in: pocket-ic-types.ts:770

The ID of the subnet that the canister resides on.