/blocks
Returns a list of all blocks from all shards
Parameters
from
OPTIONAL(number)
- Number of items to skip for the result setsize
OPTIONAL(number)
- Number of items to retrieveshard
OPTIONAL(number)
- Id of the shard the block belongs toproposer
OPTIONAL(string)
- Filter by proposevalidator
OPTIONAL(string)
- Filter by validatorepoch
OPTIONAL(number)
- Filter by epochnonce
OPTIONAL(number)
- Filter by noncewithProposerIdentity
OPTIONAL(boolean)
- Provide identity information for proposer node
Returns
object:
hash
:(string)
- The hash of the transactionepoch
:(number)
- The epoch numbernonce
:(string)
- The Block nonce (height)prevHash
:(string)
- Previous hash of the transactionproposer
:(string)
- The hash of the proposerpubKeyBitmap
:(string)
round
:(number)
- fixed time duration, consistent across the network, currently decided to be 5 secondsshard
:(number)
- Id of the shardsize
:(number)
- The account sequence numbersizeTxs
:(number)
- The total transaction size in bytesstateRootHash
:(string)
timestamp
:(number)
- u64 formattxCount
:(number)
gasConsumed
:(number)
- Is the consumed amount from the provided gas limit - the amount of gas units actually required by the Network in order to process the transactiongasRefunded
:(number)
- Is the amount of gas refunded from the provided gas limitgasPenalized
:(number)
maxGasLimit
:(number)
- The maximum number of gas units allocated for the transaction
Example
Request
Result
Last updated