Skip to content

CreateActorOptions

Defined in: packages/pic/src/pocket-ic-types.ts:528

Options for creating an Actor or a DeferredActor for an existing canister.

canisterId: Principal

Defined in: packages/pic/src/pocket-ic-types.ts:537

The Principal of the canister to create the actor for.


idlFactory: InterfaceFactory

Defined in: packages/pic/src/pocket-ic-types.ts:532

The interface factory of the canister, as generated by @icp-sdk/bindgen.


optional sender: Principal

Defined in: packages/pic/src/pocket-ic-types.ts:543

The Principal to make calls as. Defaults to the anonymous principal. It can be changed later with setPrincipal or setIdentity on the actor.