GetBlockConfig constructor
GetBlockConfig({
- Commitment? commitment,
- TransactionEncoding? encoding,
- TransactionDetail? transactionDetails,
- u64? maxSupportedTransactionVersion,
- bool? rewards,
JSON RPC configurations for getBlock methods.
Implementation
GetBlockConfig({
super.commitment,
this.encoding,
this.transactionDetails,
this.maxSupportedTransactionVersion,
this.rewards,
}): assert(maxSupportedTransactionVersion == null || maxSupportedTransactionVersion >= 0),
assert(commitment != Commitment.processed, 'The commitment "processed" is not supported.');