Hey y'all, i'm currently learning on how to craft Onchain tx as efficient as possible while still getting my transaction confirmed (preferably in <10 minutes).
I concluded that :
- Personally, P2TR address is the best address to use.
- Knowing the exact tx size before deciding feerate matters a lot.
- If i know the exact size, i can guess the best feerate by looking at several previously confirmed block.
- For several reasons, i can't avoid small UTXOs.
- Having as many inputs as possible per tx is better (as long as i can postpone Onchain spending)
I think i got the basics right, but some advanced questions like :
- Does transaction fee counted as output ?
- How does Onchain wallet determine the destination address type for change output ? (Specifically on Blixt, Zeus, Samourai & Green)
- What is the biggest amount of input or output possible in a single transaction ?
I can't seem to find answer anywhere and would be thankful to have my questions answered by others here. Suggestions (not LN) are also appreciated