getRecentBlockhash abstract method
- @Deprecated('Please use getLatestBlockhash instead')
- Commitment? commitment,
Returns a recent block hash from the ledger, and a fee schedule that can be used to compute the cost of submitting a transaction using it.
commitment For commitment parameter description see this document
Commitment.processed is not supported as commitment.
Implementation
@Deprecated('Please use getLatestBlockhash instead')
Future<RecentBlockhashResult> getRecentBlockhash({
Commitment? commitment,
});