BlockResponse constructor
const
BlockResponse(
- Block? block,
- 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);