Up to 50% Off on Your First Month

Subscribe by April 30th with a credit card and save big!

Sale bannerSale banner

Last updated on January 1, 1970

1 min read

Method eth_hashrate Avalanche (AVAX)
connect with JSON-RPC protocol

eth_hashrate

info-circle-fill

Returns the number of hashes per second that the node is mining with.

Parameters

-

Request

curl --location --request POST 'https://avax.getblock.io/mainnet/ext/bc/C/rpc' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "eth_hashrate",
"params": [],
"id": "getblock.io"}'

Response

{
    "error": {
        "code": -32601,
        "message": "the method eth_hashrate does not exist/is not available"
    },
    "id": "getblock.io",
    "jsonrpc": "2.0"
}