SolanaRPCGetBlock constructor

const SolanaRPCGetBlock({
  1. required int slot,
  2. RPCTransactionDetails? transactionDetails = RPCTransactionDetails.full,
  3. int? maxSupportedTransactionVersion = 0,
  4. bool? rewards,
  5. Commitment? commitment,
  6. SolanaRPCEncoding? encoding,
})

Implementation

const SolanaRPCGetBlock(
    {required this.slot,
    this.transactionDetails = RPCTransactionDetails.full,
    this.maxSupportedTransactionVersion = 0,
    this.rewards,
    Commitment? commitment,
    SolanaRPCEncoding? encoding})
    : super(commitment: commitment, encoding: encoding);