Type Alias GenericStorageQuery<Rv, T, KeyTypeOut>

GenericStorageQuery<Rv, T, KeyTypeOut>: StorageQueryMethod<T> & {
    meta: PalletStorageEntryMetadataLatest;
    rawKey: ((...args: Parameters<T>) => StorageKey);
} & (KeyTypeOut extends undefined
    ? {}
    : Rv extends RpcLegacy
        ? {
            multi: StorageMultiQueryMethod<T>;
            pagedEntries: ((pagination?: PaginationOptions) => Promise<[KeyTypeOut, NonNullable<ReturnType<(...)>>][]>);
            pagedKeys: ((pagination?: PaginationOptions) => Promise<KeyTypeOut[]>);
        }
        : {
            entries: (() => Promise<[KeyTypeOut, NonNullable<ReturnType<(...)>>][]>);
            multi: StorageMultiQueryMethod<T>;
        })

Type Parameters