getFees abstract method
Returns a recent block hash from the ledger, a fee schedule that can be used to compute the cost of submitting a transaction using it, and the last slot in which the blockhash will be valid.
commitment
For commitment
parameter description see this document
Commitment.processed is not supported as commitment
.
Implementation
@Deprecated('Use getFeeForMessage instead')
Future<FeesResult> getFees({
Commitment? commitment,
});