UNPKG

react-use-ark

Version:

Hook to easily access ARK blockchain Ѧ API in React application

5 lines (4 loc) 468 B
import { Network } from '../../common/network'; import { IDelegatesResponse, IDelegate } from './interfaces'; export declare const useDelegatesAll: (fetchOnMount?: boolean, network?: Network) => [import("../../utils/reducer").State<IDelegate[]>, () => Promise<void>]; export declare const useDelegatesTop: (page?: number, limit?: number, fetchOnMount?: boolean, network?: Network) => [import("../../utils/reducer").State<IDelegatesResponse>, () => Promise<void>];