net
Index
References
Functions
References
Net
Re-exports Net
default
Renames and re-exports Net
Functions
getId
Type parameters
- ReturnFormat: DataFormat
Parameters
web3Context: Web3Context<Web3NetAPI, any>
returnFormat: ReturnFormat
Returns Promise<NumberTypes[ReturnFormat[number]]>
getPeerCount
Type parameters
- ReturnFormat: DataFormat
Parameters
web3Context: Web3Context<Web3NetAPI, any>
returnFormat: ReturnFormat
Returns Promise<NumberTypes[ReturnFormat[number]]>
isListening
Parameters
web3Context: Web3Context<Web3NetAPI, any>
Returns Promise<boolean>