📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

Method: POST priv_debugGetStateRoot

dropdown

方法 RPC priv_debugGetStateRoot 例如 Ethereum (ETH)

POST priv_debugGetStateRoot

方法不允许

返回指定区块中指定隐私组的状态根。

Parameters

data -

32 字节的隐私组 ID。

quantity|tag -

表示块编号或字符串标记最新、最早或待定之一的整数,如块参数中所述。

Request

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