UNPKG

@parity/light.js

Version:

A high-level reactive JS library optimized for light clients

24 lines (23 loc) 1.08 kB
import frequency from './frequency'; import { makeContract } from './rpc/other/makeContract'; export * from './types'; export { frequency, makeContract }; export declare const accounts$: typeof import('./rpc/eth').accounts$, accountsInfo$: typeof import('./rpc/parity').accountsInfo$, balanceOf$: typeof import('./rpc/eth').balanceOf$, chainId$: typeof import('./rpc/eth').chainId$, transactionCountOf$: typeof import('./rpc/eth').transactionCountOf$, blockNumber$: typeof import('./rpc/eth').blockNumber$, chainName$: typeof import('./rpc/parity').chainName$, defaultAccount$: typeof import('./rpc/eth').defaultAccount$, myBalance$: typeof import('./rpc/eth').myBalance$, peerCount$: typeof import('./rpc/net').peerCount$, post$: typeof import('./rpc/other').post$, postRaw$: typeof import('./rpc/other').postRaw$, syncStatus$: typeof import('./rpc/eth').syncStatus$, versionInfo$: typeof import('./rpc/parity').versionInfo$; declare const _default: { setApi: (newApi: any) => void; setProvider: (provider?: any) => void; }; export default _default;