GetBlockSignersByNumber
post
Returns the signers set of the block of given BLOCKNUMBER
.
Parameters
BLOCKNUMBER
[required] - a hex code of an integer representing the BLOCKNUMBER
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
SIGNERS
- signers set of the block of givenBLOCKNUMBER
Body
jsonrpcstringRequired
methodstringRequired
paramsstring[]Required
idinteger · int32Required
Responses
200
Successful Operation
500
Internal Server Error
post
POST //getBlockSignersByNumber HTTP/1.1
Host: tomo.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"jsonrpc": "2.0",
"method": "eth_getBlockSignersByNumber",
"params": [
"0xA61F98"
],
"id": 1
}
No content