ethclient: add NetworkID method (#14791)
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.
Showing
想要评论请 注册 或 登录
从无法访问的项目Fork
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.