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.

Params1 param
includeBodybooleanrequired

Result Schema

Fields16 fields
hashstringrequired
sizenumberrequired
batchnumberrequired
epochnumberrequired
networkstringrequired
versionnumberrequired
numbernumberrequired
timestampnumberrequired
parentHashstringrequired
seedstringrequired
extraDatanumber[]required
stateHashstringrequired
bodyHashstringrequired
historyHashstringrequired
transactionsany[]optional
additionalFieldsobjectrequired

Code Examples

Copy page
Create issue