There is currently no simple way to obtain the network ID from a Client. This adds a NetworkID method that wraps the net_version JSON-RPC call. |
||
|---|---|---|
| .. | ||
| ethclient_test.go | ||
| ethclient.go | ||
There is currently no simple way to obtain the network ID from a Client. This adds a NetworkID method that wraps the net_version JSON-RPC call. |
||
|---|---|---|
| .. | ||
| ethclient_test.go | ||
| ethclient.go | ||