Light Client Block Proof (Experimental)
EXPERIMENTAL_light_client_block_proof request type
Fetch a Merkle proof — by Base58 block and light-client-head hashes — that the block is included in the light client's verified chain.
EXPERIMENTAL_light_client_block_proof request type
Fetch a Merkle proof — by Base58 block and light-client-head hashes — that the block is included in the light client's verified chain.
Responses from the selected endpoint appear here after you run a request.
Live response output will appear here after you run a request.
This operation accepts a JSON-RPC body over POST to /.
Required request inputs: yes
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "EXPERIMENTAL_light_client_block_proof",
"params": {
"block_hash": "64utzv4G8AwNSxVnj23KPwU46VL435jQbQokbaYFtZ6V",
"light_client_head": "9XN7MtDywZvfGx6TKy1MT2iCZkKuHikJXmNazxdZ4x6T"
}
}jsonrpc *string2.0id *stringmethod *stringEXPERIMENTAL_light_client_block_proofparams *objectblock_hash *stringBase58-encoded hash
light_client_head *stringBase58-encoded hash
Successful response
jsonrpc *string2.0id *one ofresultobjectblock_header_lite *objectinner_lite *objectA part of a state for the current head of a light client. More info [here](https://nomicon.io/ChainSpec/LightClient).
inner_rest_hash *stringBase58-encoded hash
prev_block_hash *stringBase58-encoded hash
block_proof *arrayitemsobjecterrorobjectcodeintegermessagestringdataobject