SolanaRPCGetBlock constructor
const
SolanaRPCGetBlock({
- required int slot,
- RPCTransactionDetails? transactionDetails = RPCTransactionDetails.full,
- int? maxSupportedTransactionVersion = 0,
- bool? rewards,
- Commitment? commitment,
- 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);