There is currently no way to know what the max spendable MOB in a single transaction is besides trying and failing to construct a transaction. I propose that we add a field to the Balance JSON RPC object called max_spendable_pmob, which would be the sum of the 16 largest txos (which is the max number of inputs per transaction) minus the current known transaction fee, or the default otherwise from the mobilecoin library.
There is currently no way to know what the max spendable MOB in a single transaction is besides trying and failing to construct a transaction. I propose that we add a field to the Balance JSON RPC object called
max_spendable_pmob
, which would be the sum of the 16 largest txos (which is the max number of inputs per transaction) minus the current known transaction fee, or the default otherwise from the mobilecoin library.