net_version (BSC)
returns the current network id.
Parameters
none
Returns
String
- The current network id.
"0x1"
: Ethereum Mainnet"0x3"
: Ropsten Testnet
Request example
Result
Last updated
returns the current network id.
Parameters
none
Returns
String
- The current network id.
"0x1"
: Ethereum Mainnet
"0x3"
: Ropsten Testnet
Request example
Result
Last updated