I read the documentation on the wallet.transfer() function but there was no origin wallet parameter. Can I choose to use a subaddress generated through wallet.new_address() to send monero form? If not how can I send the monero on a subaddress through monero-python?
Edit: I tried using address.transfer() and got the error ''SubAddress' object has no attribute 'transfer_multiple''.
from monero.address import address
address = address(str(subaddress))
txs = address.transfer_multiple([(...)])
What should I do to use the monero on a subaddress?
https://monero-python.readthedocs.io/en/latest/transactions.html