getLatestBlock method

Returns the block at the head of the main chain. It has an option to include the transactions in the block, which defaults to false.

Params

ParameterTypeRequired
includeBodybooleanYes

Result

PropertyTypeRequired
hashstringYes
sizenumberYes
batchnumberYes
epochnumberYes
networkstringYes
versionnumberYes
numbernumberYes
timestampnumberYes
parentHashstringYes
seedstringYes
extraDataarrayYes
stateHashstringYes
bodyHashstringYes
historyHashstringYes
transactionsarrayNo
additionalFieldsobjectYes

Code Examples

Copy page
Report a bug
Send feedback