Block Actions

listBlocks

List header info of all blocks. Filter options included. The example below is to view blocks number 5 to 15.

Filter options:

  • offset:integer
  • limit:integer
$ listBlocks offset:5 limit:10

blockInfo

View block info of a hash.

This action also retrieves the transaction of the block but does not display in the shell. To view the transactions of the block use blockTransactions

Required:

  • hash:hexString
$ blockInfo hash:0x0025b47e93fdac9df0584769cda032384eaa9b5f9bcc568ea11ceea33de0b34c

blockTransactions

List transactions of a block

Required:

  • hash:hexString
$ blockTransactions hash:0x0025b47e93fdac9df0584769cda032384eaa9b5f9bcc568ea11ceea33de0b34c