CreateActorOptions
Defined in: packages/pic/src/pocket-ic-types.ts:528
Options for creating an Actor or a DeferredActor for an existing canister.
Properties
Section titled “Properties”canisterId
Section titled “canisterId”canisterId:
Principal
Defined in: packages/pic/src/pocket-ic-types.ts:537
The Principal of the canister to create the actor for.
idlFactory
Section titled “idlFactory”idlFactory:
InterfaceFactory
Defined in: packages/pic/src/pocket-ic-types.ts:532
The interface factory of the canister, as generated by @icp-sdk/bindgen.
sender?
Section titled “sender?”
optionalsender: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.