Closed maxgmer closed 1 month ago
When you create a TxData
object, the vin
and vout
are arrays, and the order of items in that array is the order in which they will be encoded when you convert the transaction data into hex.
@cmdruid I see, thanks!
The way address spending works is:
But how do I specify the order of input UTXOs with this library? I want to make sure inscription UTXOs are first, while ordinary sats are last, so that inscriptions don't leak to miners.