Interface WitnessQueryFunctions<TIn, TOut>

interface WitnessQueryFunctions<
    TIn extends Payload = Payload,
    TOut extends Payload = Payload,
> {
    observe: (
        payloads?: TIn[],
    ) => Promisable<WithoutPrivateStorageMeta<TOut>[]>;
    observeQuery: (
        payloads?: TIn[],
        account?: AccountInstance,
    ) => Promisable<ModuleQueryResult<TOut>>;
}

Type Parameters

Hierarchy (View Summary)

Properties

observe: (payloads?: TIn[]) => Promisable<WithoutPrivateStorageMeta<TOut>[]>
observeQuery: (
    payloads?: TIn[],
    account?: AccountInstance,
) => Promisable<ModuleQueryResult<TOut>>