Updated on 2023-12-15 GMT+08:00

eth_hashrate

Introduction

This API returns the number of hashes per second calculated by the node. It consumes 104 CUs.

Parameter Description

This method does not accept any parameters.

Return Value

The number of hashes per second encoded as hexadecimal.

Request

curl https://your-http-endpoint/v1/<API-KEY> \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"eth_hashrate","params":[],"id":1,"jsonrpc":"2.0"}'