LAST_UNUSED
Content copied to clipboard
Return the address for the current descriptor index if it has not been used in a received transaction. Otherwise return a new address as with AddressIndex.NEW
. Use with caution, if the wallet has not yet detected an address has been used it could return an already used address. This function is primarily meant for situations where the caller is untrusted; for example when deriving donation addresses on-demand for a public web page.