UNPKG

@savid/rlpx-pest

Version:

Get the [status](https://github.com/ethereum/devp2p/blob/master/caps/eth.md#status-0x00) of a [RLPx](https://github.com/ethereum/devp2p/blob/master/rlpx.md) peer via the [eth/66](https://eips.ethereum.org/EIPS/eip-2481) protocol.

10 lines (9 loc) 262 B
import { ETH66Status } from './eth66.js'; export { PeerError } from './peer.js'; declare const _default: ({ enode, timeout, }: { timeout?: number | undefined; enode: string; }) => Promise<ETH66Status & { client?: string; }>; export default _default;