How to estimate the optimal fee for transaction(Segwit addresses)?

1

I am using Segwit addresses to create transactions. As per my knowledge usage of segwit addresses allows the transactions to process fast with fewer fees as it occupies less space in the block. Could anyone explain how to calculate the fee for transactions using segwit transactions?

merklexy

Posted 2018-02-28T14:04:19.713

Reputation: 87

Question was closed 2018-03-18T21:32:27.160

Sameer, I added a link to your question. As your question is very generic, that should be it. If your question goes deeper, please show us what you have done so far, and where you got stuck. You can edit your question at any time!pebwindkraft 2018-02-28T17:16:42.967

Answers

1

  • Legacy input size: 148 bytes (compressed)
  • Legacy output size: 34 bytes (compressed)

  • Segwit input size: 104 bytes

  • Segwit output size: 32 bytes

so if your transaction has two inputs and one output total size is ~ 246 Bytes, Don't forget about some more additional bytes for transaction header.

Adam

Posted 2018-02-28T14:04:19.713

Reputation: 3 215