Please login or register.

Raw transactions equivalent in Monero

Hello,

Is there an API equivalent to the raw transactions one in Bitcoin?

Basically what I want to do right now is see the balance I hold in each key/output, and transfer them to another address without merging my different keys in the same transaction. Basically, I want to manually implement merge avoidance for my transfers. In Bitcoin I've been doing this through the raw transactions commands in the main client's debug window. Is there a way to do the same in Monero?

Thank you!

Replies: 3
moneromooo posted 9 years ago Replies: 1 | Weight: -267 | Link [ - ]

There is no coin control in monero (yet). This would not be super hard to add, I'd thought about this and it'd be fairly simple to add to simplewallet. FWIW, every output has a different address on the blockchain, you don't have several outputs with the same key. Though you do have several outputs created on the same tx, or at close heights. But then again you have ringt signatures which provide ambiguity to which outputs are actually used. Coin selection is currently random, and there is no intelligence in this at the moment.

Reply to: moneromooo
EhVedadoOAnonimato posted 9 years ago Replies: 1 | Weight: -267 | Link [ - ]

> But then again you have ringt signatures which provide ambiguity to which outputs are actually used.

I know. But consider a transaction that mixes in its inputs two or more outputs created in the same transaction. Which is more likely: (1) both outputs belong to the actual sender of the transaction that had to merge them because a single one would not be enough or (2) they actually belong to somebody else, and just happened to be randomly selected from the same transaction by chance.

I can't do the math myself but I'm pretty sure number 1 is much more likely to happen than 2, and the more outputs Monero has, the stronger this likelihood difference will become.

I know the devs have plans to implement merge avoidance by default, as I've seen them saying that somewhere in reddit. According to your answer, I guess I can only wait for some of these two features (merge avoidance or coin control) to be available. Unless... do you know if any other CryptoNote currency has one of these features?

Thank you for your answer!

Reply to: EhVedadoOAnonimato moneromooo
moneromooo posted 9 years ago Weight: -267 | Link [ - ]

You are correct, this is what I meant by "created on the same tx, or at close heights".

I'm not aware of any other CN having done this, but then I've not looked, so I can't say none does for certain.