• Type Parameters

    • R

    Parameters

    • mod: any
    • closure: (
          mod: Module<
              BaseParamsFields & {
                  account?: AccountInstance
                  | "random";
                  additionalSigners?: AccountInstance[];
                  addToResolvers?: boolean;
                  allowNameResolution?: boolean;
                  config: DeepRestrictToStringKeys<
                      {
                          allowedQueries?: string[];
                          archiving?: { archivists?: string[]; queries?: string[] };
                          archivist?: string;
                          consoleLogger?: LogLevel;
                          labels?: { [x: string]: undefined | string };
                          name?: string;
                          paging?: { [x: string]: { size?: number } };
                          retry?: { backoff?: number; interval?: number; retries?: number };
                          schema: string;
                          security?: {
                              allowAnonymous?: boolean;
                              allowed?: { [x: string]: (...)[] };
                              disallowed?: { [x: string]: (...)[] };
                          };
                          sign?: boolean;
                          storeQueries?: boolean;
                          timestamp?: boolean;
                      },
                  >;
                  ephemeralQueryAccountEnabled?: boolean;
                  moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
              },
          >,
      ) => R

    Returns undefined | R