Function std::tx::tx_max_fee
pub fn tx_max_fee() -> Option<u64>
Expand description
Get the max fee for the transaction, if it is set.
Returns
- [Option] - The max fee for the transaction.
Examples
use std::tx::tx_max_fee;
fn foo() {
let max_fee = tx_max_fee();
log(max_fee);
}