GetBlockByNumber
Implements eth_getBlockByNumber.
Params
(3)1. shardId (required)
integer
The ID of the shard where the block was generated.
2. blockNumber (required)
integer
The number of the block whose information is requested.
3. fullTx (required)
boolean
The flag that determines whether full transaction information is returned in the output.
Result
(rpcBlock)The block whose information was requested.
Hash
stringThe hash of the block.
Messages
messagesThe messages included in the block.
Number
integerThe block number.
ParentHash
stringThe hash of the parent block.
ReceiptsRoot
stringThe root of the block receipts.
ShardId
integerThe ID of the shard where the block was generated.