Skip to main content

Interface: CreateInstanceOptions

Options for creating a PocketIc instance.

Properties

nns?

optional nns: NnsSubnetConfig

Configuration options for creating an NNS subnet. If no config is provided, the NNS subnet is not setup.

Source

pocket-ic-types.ts:15


sns?

optional sns: SnsSubnetConfig

Configuration options for creating an SNS subnet. If no config is provided, the SNS subnet is not setup.

Source

pocket-ic-types.ts:21


ii?

optional ii: IiSubnetConfig

Configuration options for creating an II subnet. If no config is provided, the II subnet is not setup.

Source

pocket-ic-types.ts:27


fiduciary?

optional fiduciary: FiduciarySubnetConfig

Configuration options for creating a Fiduciary subnet. If no config is provided, the Fiduciary subnet is not setup.

Source

pocket-ic-types.ts:33


bitcoin?

optional bitcoin: BitcoinSubnetConfig

Configuration options for creating a Bitcoin subnet. If no config is provided, the Bitcoin subnet is not setup.

Source

pocket-ic-types.ts:39


system?

optional system: SystemSubnetConfig[]

Configuration options for creating system subnets. A system subnet will be created for each configuration object provided. If no config objects are provided, no system subnets are setup.

Source

pocket-ic-types.ts:46


application?

optional application: ApplicationSubnetConfig[]

Configuration options for creating application subnets. An application subnet will be created for each configuration object provided. If no config objects are provided, no application subnets are setup.

Source

pocket-ic-types.ts:53


verifiedApplication?

optional verifiedApplication: VerifiedApplicationSubnetConfig[]

Configuration options for creating verified application subnets. A verified application subnet will be created for each configuration object provided. If no config objects are provided, no verified application subnets are setup.

Source

pocket-ic-types.ts:60


processingTimeoutMs?

optional processingTimeoutMs: number

How long the PocketIC client should wait for a response from the server.

Source

pocket-ic-types.ts:65


nonmainnetFeatures?

optional nonmainnetFeatures: boolean

Determines if non-mainnet features (e.g., best-effort responses) should be enabled for the PocketIC instance. Defaults to false.

Source

pocket-ic-types.ts:71