Latest Block
block request type
Fetch the latest final block — finality set automatically, no block ID needed.
block request type
Fetch the latest final block — finality set automatically, no block ID needed.
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": "block",
"params": {
"finality": "optimistic"
}
}jsonrpc *string2.0id *stringmethod *stringblockparams *objectfinality *stringFinality selector for the latest visible block
finalnear-finaloptimisticSuccessful response
jsonrpc *string2.0id *one ofresultobjecterrorobjectcodeintegermessagestringdataobject