getBlockWithTransaction method

Future<BlockWithTransaction> getBlockWithTransaction(
  1. int blockNumber
)

Get the block from the network, where the BlockWithTransaction.transactions is an Array of TransactionResponse.

Implementation

Future<BlockWithTransaction> getBlockWithTransaction(int blockNumber) =>
    call<BlockWithTransaction>('getBlockWithTransactions', [blockNumber]);