Functions
peerCount$
▸ peerCount$(options?: RpcObservableOptions): Observable
<BigNumber
>
Defined in rpc/net.ts:21
Get the amount of peers.
Calls net_peerCount
Parameters:
Name | Type | Description |
---|---|---|
Optional options |
RpcObservableOptions | Options to pass to RpcObservableOptions. |
Returns: Observable
<BigNumber
>
- An Observable containing the number.