Next Light Client Block
next_light_client_block request type
This endpoint allows you to get the next light client block on the NEAR blockchain.
Responses from the selected endpoint appear here after you run a request.
Live response output will appear here after you run a request.
Request reference
application/jsonThis operation accepts a JSON-RPC body over POST to /.
Required request inputs: yes
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "next_light_client_block",
"params": {
"last_block_hash": "6sddgq8nkENAz4f8qR72qxRPM25QWNBVMrkYr63DgC2E"
}
}Request schema
jsonrpc *string2.0id *stringmethod *stringnext_light_client_blockparams *objectlast_block_hash *stringBase58-encoded hash
Response reference
200 application/jsonSuccessful response
Response schema
jsonrpc *string2.0id *one ofresultobjectA state for the current head of a light client. More info [here](https://nomicon.io/ChainSpec/LightClient).
approvals_after_nextarrayitemsstringnullableBase58-encoded cryptographic signature
inner_liteobjectA part of a state for the current head of a light client. More info [here](https://nomicon.io/ChainSpec/LightClient).
block_merkle_root *stringBase58-encoded hash
epoch_id *stringBase58-encoded hash
height *integernext_bp_hash *stringBase58-encoded hash
next_epoch_id *stringBase58-encoded hash
outcome_root *stringBase58-encoded hash
prev_state_root *stringBase58-encoded hash
timestamp *integerLegacy json number. Should not be used.
timestamp_nanosec *stringinner_rest_hashstringBase58-encoded hash
next_block_inner_hashstringBase58-encoded hash
next_bpsarrayitemsobjectOne of multiple possible types
prev_block_hashstringBase58-encoded hash
errorobjectcodeintegermessagestringdataobject