⚡ We welcome businesses to test our enterprise-grade service

Method: POST verifyproof

dropdown

方法 RPC verifyproof 例如 NEO

POST verifyproof

Method not allowed

使用根哈希和证明验证,并获取与键相对应的存储的值。

Parameters

roothash - 细绳

状态根的根哈希

proof - 细绳

状态根的证明数据; 基本64编码。

Request

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


Response

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