getConfirmedBlock abstract method
- @Deprecated('Use getBlock instead')
- int slot, {
- Encoding? encoding,
- TransactionDetailLevel? transactionDetails,
- bool? rewards = false,
- Commitment? commitment = Commitment.finalized,
Returns identity and transaction information about a confirmed block in the ledger
slot
slot, as u64 integer
encoding
transactionDetails
Level of transaction detail to return.
rewards
Whether to populate the rewards array. If parameter not provided, the default
includes rewards.
commitment
For commitment
parameter description see this document
Commitment.processed is not supported as commitment
.
Implementation
@Deprecated('Use getBlock instead')
Future<Block> getConfirmedBlock(
int slot, {
Encoding? encoding,
TransactionDetailLevel? transactionDetails,
bool? rewards = false,
Commitment? commitment = Commitment.finalized,
});