getBlock method

Future<Block> getBlock(
  1. int blockNumber
)

Get the block from the network by blockNumber, where the Block.transactions is a list of transaction hashes.

Implementation

Future<Block> getBlock(int blockNumber) =>
    call<Block>('getBlock', [blockNumber]);