neo

NEO (NEO)

Method: POST verifyproof

dropdown

POST verifyproof

Method not allowed

Verifies using the root hash and proof, and gets the value of the storage corresponding to the key.

Parameters

roothash - string

root hash of the state root

proof - string

proof data of the state root; Base64-encoded.

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"
}