I think you’d need to include amounts for each output, in addition to a descriptor that can produce the scriptPubKey? You’d probably want some other expression that can convert total_in_amount_pct(50) to 50% of the sum of all the input amounts or similar.
1 Like