UNPKG

@polkadot/react-api

Version:

A collection of RxJs React components the Polkadot JS API

6 lines (5 loc) 359 B
import { Hash } from '@polkadot/types/interfaces'; import { Codec } from '@polkadot/types/types'; declare type AtQuery<I extends any[]> = (hash: string | Uint8Array, ...params: I) => Promise<Codec>; export default function getHistoric<T extends Codec, I extends any[] = any[]>(atQuery: AtQuery<I>, params: I, hashes: Hash[]): Promise<[Hash, T][]>; export {};