XYO Platform SDK - v3.10.6
    Preparing search index...

    Variable asSentinelModuleConst

    asSentinelModule: {
        <
            TType extends
                SentinelModule<
                    BaseParamsFields & {
                        account?: AccountInstance
                        | "random";
                        additionalSigners?: AccountInstance[];
                        addToResolvers?: boolean;
                        allowNameResolution?: boolean;
                        config: AnyConfigSchema;
                        ephemeralQueryAccountEnabled?: boolean;
                        moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                        privateChildren?: ModuleInstance[];
                        publicChildren?: ModuleInstance[];
                    },
                    SentinelModuleEventData<
                        Module<
                            BaseParamsFields & {
                                account?: AccountInstance
                                | "random";
                                additionalSigners?: AccountInstance[];
                                addToResolvers?: boolean;
                                allowNameResolution?: boolean;
                                config: AnyConfigSchema;
                                ephemeralQueryAccountEnabled?: boolean;
                                moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                                privateChildren?: ModuleInstance[];
                                publicChildren?: ModuleInstance[];
                            },
                            ModuleEventData<object>,
                        >,
                    >,
                >,
        >(
            value: AnyNonPromise,
            config?: TypeCheckConfig,
        ): undefined | TType;
        <
            TType extends
                SentinelModule<
                    BaseParamsFields & {
                        account?: AccountInstance
                        | "random";
                        additionalSigners?: AccountInstance[];
                        addToResolvers?: boolean;
                        allowNameResolution?: boolean;
                        config: AnyConfigSchema;
                        ephemeralQueryAccountEnabled?: boolean;
                        moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                        privateChildren?: ModuleInstance[];
                        publicChildren?: ModuleInstance[];
                    },
                    SentinelModuleEventData<
                        Module<
                            BaseParamsFields & {
                                account?: AccountInstance
                                | "random";
                                additionalSigners?: AccountInstance[];
                                addToResolvers?: boolean;
                                allowNameResolution?: boolean;
                                config: AnyConfigSchema;
                                ephemeralQueryAccountEnabled?: boolean;
                                moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                                privateChildren?: ModuleInstance[];
                                publicChildren?: ModuleInstance[];
                            },
                            ModuleEventData<object>,
                        >,
                    >,
                >,
        >(
            value: AnyNonPromise,
            assert: StringOrAlertFunction<
                SentinelModule<
                    BaseParamsFields & {
                        account?: AccountInstance
                        | "random";
                        additionalSigners?: AccountInstance[];
                        addToResolvers?: boolean;
                        allowNameResolution?: boolean;
                        config: AnyConfigSchema;
                        ephemeralQueryAccountEnabled?: boolean;
                        moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                        privateChildren?: ModuleInstance[];
                        publicChildren?: ModuleInstance[];
                    },
                    SentinelModuleEventData<
                        Module<
                            BaseParamsFields & {
                                account?: AccountInstance
                                | "random";
                                additionalSigners?: AccountInstance[];
                                addToResolvers?: boolean;
                                allowNameResolution?: boolean;
                                config: AnyConfigSchema;
                                ephemeralQueryAccountEnabled?: boolean;
                                moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                                privateChildren?: ModuleInstance[];
                                publicChildren?: ModuleInstance[];
                            },
                            ModuleEventData<object>,
                        >,
                    >,
                >,
            >,
            config?: TypeCheckConfig,
        ): TType;
    }

    Type declaration

      • <
            TType extends
                SentinelModule<
                    BaseParamsFields & {
                        account?: AccountInstance
                        | "random";
                        additionalSigners?: AccountInstance[];
                        addToResolvers?: boolean;
                        allowNameResolution?: boolean;
                        config: AnyConfigSchema;
                        ephemeralQueryAccountEnabled?: boolean;
                        moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                        privateChildren?: ModuleInstance[];
                        publicChildren?: ModuleInstance[];
                    },
                    SentinelModuleEventData<
                        Module<
                            BaseParamsFields & {
                                account?: AccountInstance
                                | "random";
                                additionalSigners?: AccountInstance[];
                                addToResolvers?: boolean;
                                allowNameResolution?: boolean;
                                config: AnyConfigSchema;
                                ephemeralQueryAccountEnabled?: boolean;
                                moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                                privateChildren?: ModuleInstance[];
                                publicChildren?: ModuleInstance[];
                            },
                            ModuleEventData<object>,
                        >,
                    >,
                >,
        >(
            value: AnyNonPromise,
            config?: TypeCheckConfig,
        ): undefined | TType
      • Type Parameters

        Parameters

        Returns undefined | TType

      • <
            TType extends
                SentinelModule<
                    BaseParamsFields & {
                        account?: AccountInstance
                        | "random";
                        additionalSigners?: AccountInstance[];
                        addToResolvers?: boolean;
                        allowNameResolution?: boolean;
                        config: AnyConfigSchema;
                        ephemeralQueryAccountEnabled?: boolean;
                        moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                        privateChildren?: ModuleInstance[];
                        publicChildren?: ModuleInstance[];
                    },
                    SentinelModuleEventData<
                        Module<
                            BaseParamsFields & {
                                account?: AccountInstance
                                | "random";
                                additionalSigners?: AccountInstance[];
                                addToResolvers?: boolean;
                                allowNameResolution?: boolean;
                                config: AnyConfigSchema;
                                ephemeralQueryAccountEnabled?: boolean;
                                moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                                privateChildren?: ModuleInstance[];
                                publicChildren?: ModuleInstance[];
                            },
                            ModuleEventData<object>,
                        >,
                    >,
                >,
        >(
            value: AnyNonPromise,
            assert: StringOrAlertFunction<
                SentinelModule<
                    BaseParamsFields & {
                        account?: AccountInstance
                        | "random";
                        additionalSigners?: AccountInstance[];
                        addToResolvers?: boolean;
                        allowNameResolution?: boolean;
                        config: AnyConfigSchema;
                        ephemeralQueryAccountEnabled?: boolean;
                        moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                        privateChildren?: ModuleInstance[];
                        publicChildren?: ModuleInstance[];
                    },
                    SentinelModuleEventData<
                        Module<
                            BaseParamsFields & {
                                account?: AccountInstance
                                | "random";
                                additionalSigners?: AccountInstance[];
                                addToResolvers?: boolean;
                                allowNameResolution?: boolean;
                                config: AnyConfigSchema;
                                ephemeralQueryAccountEnabled?: boolean;
                                moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                                privateChildren?: ModuleInstance[];
                                publicChildren?: ModuleInstance[];
                            },
                            ModuleEventData<object>,
                        >,
                    >,
                >,
            >,
            config?: TypeCheckConfig,
        ): TType
      • Type Parameters

        Parameters

        • value: AnyNonPromise
        • assert: StringOrAlertFunction<
              SentinelModule<
                  BaseParamsFields & {
                      account?: AccountInstance
                      | "random";
                      additionalSigners?: AccountInstance[];
                      addToResolvers?: boolean;
                      allowNameResolution?: boolean;
                      config: AnyConfigSchema;
                      ephemeralQueryAccountEnabled?: boolean;
                      moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                      privateChildren?: ModuleInstance[];
                      publicChildren?: ModuleInstance[];
                  },
                  SentinelModuleEventData<
                      Module<
                          BaseParamsFields & {
                              account?: AccountInstance
                              | "random";
                              additionalSigners?: AccountInstance[];
                              addToResolvers?: boolean;
                              allowNameResolution?: boolean;
                              config: AnyConfigSchema;
                              ephemeralQueryAccountEnabled?: boolean;
                              moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                              privateChildren?: ModuleInstance[];
                              publicChildren?: ModuleInstance[];
                          },
                          ModuleEventData<object>,
                      >,
                  >,
              >,
          >
        • Optionalconfig: TypeCheckConfig

        Returns TType