Sets the transaction max fee.

Signature

pub fn set_max_fee(fee: u128)

Arguments

fee - The max fee to set. After a call to set_max_fee, starknet::get_execution_info().tx_info.max_fee will return the set value.