zend_oo
zend_oo copied to clipboard
sc_create, sc_send, sc_sendmany, send_certificate RPC commands should have a "from address" argument
It is currently not possible to choose from which MC address utxo will be picked to send to a SC or to add a fee to the certificate submission transaction. This could lead to unwanted consequences like reducing the balance of a Secure/Super node stake address.
I'd suggest adding a mandatory argument "from address" with which the address to select inputs from can be set, a value of "*" would mean utxo from any address can be used.
A decision on the API should be made before the first official release of zend_oo, after the first release changing the API would be problematic.
Additionally, an optional argument similar to
5. sendChangeToSource (boolean, optional, default = false) If true and fromaddress is a taddress return the change to it
from z_sendmany would satisfy SBH's requirement of not creating change addresses.