I run a cardano-cli, cardan-wallet and cardano-wallet-js.
I use this code for get next unused address:
let address = await wallet.getNextAddress();
How can I set state: 'unused'
to state: 'used'
without any transcation?
I run a cardano-cli, cardan-wallet and cardano-wallet-js.
I use this code for get next unused address:
let address = await wallet.getNextAddress();
How can I set state: 'unused'
to state: 'used'
without any transcation?
I don’t think you can. used
is just defined to be “has appeared in a transaction”.