eth

Ethereum (ETH)

Method: POST priv_debugGetStateRoot

dropdown
POST

priv_debugGetStateRoot

Method not allowed

Returns the state root of the specified privacy group at the specified block.

Parameters

data

32-byte privacy Group ID.

quantity|tag

Integer representing a block number or one of the string tags latest, earliest, or pending, as described in Block Parameter.

Request

curl --location --request POST 'https://eth.getblock.io' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "priv_debugGetStateRoot",
"params": [null, null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}