Properties
Protected
_account
_account: undefined | AccountInstance
Protected
Readonly
_baseModuleQueryAccountPaths
_baseModuleQueryAccountPaths: Record<"network.xyo.query.module.discover" | "network.xyo.query.module.address" | "network.xyo.query.module.subscribe" | "network.xyo.query.module.describe" | "network.xyo.query.module.manifest", string>
Protected
Readonly
_queryAccounts
_queryAccounts: Record<"network.xyo.query.module.discover" | "network.xyo.query.module.address" | "network.xyo.query.module.subscribe" | "network.xyo.query.module.describe" | "network.xyo.query.module.manifest", undefined | AccountInstance>
Protected
_startPromise
_startPromise: undefined | Promisable<boolean>
Protected
_started
_started: undefined | Promisable<boolean>
Readonly
downResolver
downResolver: Omit<CompositeModuleResolver, "resolve">
eventData
eventData: WitnessModuleEventData<WitnessInstance<BaseParamsFields & {
account?: AccountInstance | "random";
config: SchemaFields & object & Omit<{
archivist?: string;
labels?: Labels;
name?: string;
paging?: Record<string, {
size?: number;
}>;
retry?: RetryConfig;
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
security?: {
allowAnonymous?: boolean;
allowed?: Record<string, (string | CosigningAddressSet)[]>;
disallowed?: Record<string, string[]>;
};
sign?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
} & ArchivingModuleConfig & SchemaFields & object & {
archivist?: string;
labels?: Labels;
name?: string;
paging?: Record<string, {
size?: number;
}>;
retry?: RetryConfig;
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
security?: {
allowAnonymous?: boolean;
allowed?: Record<string, (string | CosigningAddressSet)[]>;
disallowed?: Record<string, string[]>;
};
sign?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
} & {
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
} & {
apiKey: string;
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
}, "schema"> & {
schema: string;
};
ephemeralQueryAccountEnabled?: boolean;
}, {
schema: string;
} & object, {
schema: string;
} & object>, {
schema: string;
} & object, {
schema: string;
} & object>
Protected
Readonly
moduleConfigQueryValidator
moduleConfigQueryValidator: Queryable
Readonly
params
params: BaseParamsFields & {
account?: AccountInstance | "random";
config: SchemaFields & object & Omit<{
archivist?: string;
labels?: Labels;
name?: string;
paging?: Record<string, {
size?: number;
}>;
retry?: RetryConfig;
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
security?: {
allowAnonymous?: boolean;
allowed?: Record<string, (string | CosigningAddressSet)[]>;
disallowed?: Record<string, string[]>;
};
sign?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
} & ArchivingModuleConfig & SchemaFields & object & {
archivist?: string;
labels?: Labels;
name?: string;
paging?: Record<string, {
size?: number;
}>;
retry?: RetryConfig;
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
security?: {
allowAnonymous?: boolean;
allowed?: Record<string, (string | CosigningAddressSet)[]>;
disallowed?: Record<string, string[]>;
};
sign?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
} & {
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
} & {
apiKey: string;
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
}, "schema"> & {
schema: string;
};
ephemeralQueryAccountEnabled?: boolean;
}
Type declaration
Optional
account?: AccountInstance | "random"
config: SchemaFields & object & Omit<{
archivist?: string;
labels?: Labels;
name?: string;
paging?: Record<string, {
size?: number;
}>;
retry?: RetryConfig;
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
security?: {
allowAnonymous?: boolean;
allowed?: Record<string, (string | CosigningAddressSet)[]>;
disallowed?: Record<string, string[]>;
};
sign?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
} & ArchivingModuleConfig & SchemaFields & object & {
archivist?: string;
labels?: Labels;
name?: string;
paging?: Record<string, {
size?: number;
}>;
retry?: RetryConfig;
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
security?: {
allowAnonymous?: boolean;
allowed?: Record<string, (string | CosigningAddressSet)[]>;
disallowed?: Record<string, string[]>;
};
sign?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
} & {
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
} & {
apiKey: string;
schema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
}, "schema"> & {
schema: string;
}
Optional
ephemeralQueryAccountEnabled?: boolean
Protected
Readonly
supportedQueryValidator
supportedQueryValidator: Queryable
Readonly
upResolver
upResolver: Omit<CompositeModuleResolver, "resolve>">
Static
Readonly
allowRandomAccount
allowRandomAccount: boolean
Static
configSchemas
configSchemas: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config"[]
Static
Optional
defaultLogger
defaultLogger?: Logger
Static
enableLazyLoad
enableLazyLoad: boolean
Protected
Static
privateConstructorKey
privateConstructorKey: string
Function
observe The main entry point for a witness. Do not override this function. Implement/override observeHandler for custom functionality