pub fn determine_min_fees_and_gas(input: &TxResponse) -> Option<FeeInfo>
Expand description

Returns what fee related problem is keeping your tx from running, you may need to run this more than once because the simulator only returns one error at a time. returns None if there are no fee related errors This is more brittle than it needs to be because the simulate endpoint (A) returns only one problem at a time and (B) returns insufficient fee messages as a memo, not an error type