最后更新于1年前
返回当前网络 ID。
curl https://eth-mainnet.solarpath.io/v1/YOUR-API-KEY \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "net_version", "params": []}'
URL: https://eth-mainnet.solarpath.io/v1/YOUR-API-KEY Request_Type: POST Body: { "jsonrpc":"2.0", "method":"net_version", "params":[], "id":1 }
{ "id": 1, "jsonrpc": "2.0", "result": "1" }