返回当前区块的哈希、种子哈希和要满足的边界条件(“目标”)。
curl https://eth-mainnet.solarpath.io/v1/YOUR-API-KEY \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "eth_getWork", "params": []}'
URL: https://eth-mainnet.solarpath.io/v1/YOUR-API-KEY Request_Type: POST Body: { "jsonrpc":"2.0", "method":"eth_getWork", "params":[], "id":1 }
{ "id": 1, "jsonrpc": "2.0", "result": [] }
eth_getWork 始终返回一个空的数组。
最后更新于1年前