#585 fixed fee calculation in EscrowFinish, but as part of that work it was noticed that there isn't any helpful function for computing fees for other transactions that don't use standard base fees.
For example, see AccountDelete and AmmCreate, and possibly multisig (though this is probably working correctly from a fee perspective).
See these links in the other SDKs: