⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
/

BNB Smart Chain (BSC)

bsc
BNB Smart Chain (BSC)

Method: POST eth_hashrate

dropdown

# eth_hashrate example for BNB Smart Chain (BSC)

POST eth_hashrate

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

When the stratum server is enabled, this method returns the cumulative hashrate of all sealers reporting their hashrate.

Parameters

-

Request

curl --location --request POST 'https://bsc.getblock.io/mainnet/' \
--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

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x0"
}