BlockResponse constructor

const BlockResponse(
  1. Block? block,
  2. List<TransactionIdentifier>? otherTransactions
)

Some blockchains may require additional transactions to be fetched that weren't returned in the block response (ex: block only returns transaction hashes). For blockchains with a lot of transactions in each block, this can be very useful as consumers can concurrently fetch all transactions returned.

Implementation

const BlockResponse(this.block, this.otherTransactions);