GetBlockFinalityByNumber
post
Returns the the finality of the block of given BLOCKNUMBER.
Parameters
-
BLOCKNUMBER
[required] - a hex code of an integer representing theBLOCKNUMBER
or one of the following special params:-
latest
: get block data of the latest block -
pending
: get block data of pending block -
earliest
: get the genesis block
-
params: [ '0xA61F98' ]
Returns
BLOCK_FINALITY
- integer of the the finality of the block of givenBLOCKNUMBER
.
Body
jsonrpcstringRequired
methodstringRequired
paramsstring[]Required
idinteger · int32Required
Responses
200
Successful Operation
500
Internal Server Error
post
POST //getBlockFinalityByNumber HTTP/1.1
Host: tomo.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"jsonrpc": "2.0",
"method": "eth_getBlockFinalityByNumber",
"params": [
"0xA61F98"
],
"id": 1
}
No content