getFeeCalculatorForBlockhash abstract method
- @Deprecated('Please use isBlockhashValid or getFeeForMessage instead')
- String blockhash, {
- Commitment? commitment,
Returns the fee calculator associated with the query blockhash, or null if the blockhash has expired
blockhash
query blockhash as a Base58 encoded string
commitment
For commitment
parameter description see this document
Commitment.processed is not supported as commitment
.
Implementation
@Deprecated('Please use isBlockhashValid or getFeeForMessage instead')
Future<FeeCalculatorForBlockhashResult> getFeeCalculatorForBlockhash(
String blockhash, {
Commitment? commitment,
});