mymonero / mymonero-core-js

The JS library containing the Monero crypto plus lightwallet functions behind the official MyMonero apps
BSD 3-Clause "New" or "Revised" License
101 stars 103 forks source link

No way to specify change address #105

Open oleggolovkovuss opened 4 years ago

oleggolovkovuss commented 4 years ago

Hello, I'd like to specify where the change goes when sending funds using async__send_funds (or any other method) and I can't find a way to do so. The method accepts a single to_address parameter so I assume the change goes back to the from_address? Can I use this from_address param to send change there or is it used for something else? Or is there maybe a way to explicitly build outputs so that I can have 2 - for actual destination and for change, thanks