Linked Questions

1 vote
1 answer
140 views

Input/Output size for various transaction types [duplicate]

What are input/output sizes for various transaction types? I see some numbers like 210 byte for input for p2sh-p2wpkh here (How do virtual size, stripped size and raw size compare between legacy ...
1_want_to_be_good_dev's user avatar
17 votes
2 answers
9k views

How do bech32 addresses compare to P2SH addresses in transaction size?

Bech32 (starts with bc1) and P2SH (starts with 3) can both be used for segwit transactions. I know bech32 is supposed to create smaller transactions, but I'd like to know how much smaller (than P2SH). ...
B T's user avatar
  • 1,569
5 votes
1 answer
448 views

What are the sizes of single-sig and 2-of-3 multisig taproot inputs?

There was a Twitter discussion about the sizes of inputs and Taproot came up. What are the input sizes for Taproot inputs? Please cover both the key path spend (single-sig or default spend) and 2-of-...
Murch's user avatar
  • 73k
2 votes
1 answer
709 views

How to generate valid BTC address to withdraw coins to

I set up bitcoind, and the complete blockchain is synced. I created a wallet, and I loaded the wallet. How can I generate an address to deposit BTC to? I tried bitcoin-cli getnewaddress and I get this ...
kintsukuroi's user avatar
0 votes
2 answers
715 views

Does number of inputs or outputs affect bitcoin transaction fee?

I would like to know how inputs and outputs affects my bitcoin transaction fee using legacy address, and how using a segwit address will decrease the same transaction? and how they will be ...
andrew007's user avatar
2 votes
1 answer
319 views

What is the weight of a P2TR input?

I'm looking for a detailed explanation of the weight, vsize and serialized length of a P2TR input, in the same vein as How big is the input of a P2PKH transaction?.
Murch's user avatar
  • 73k
1 vote
1 answer
269 views

Does input and output size vary by address type?

For instance, we have two outputs, output X sends to a P2SH address, and output Z sends to a P2PKH address. Would output X have a different transaction size than output Z? What about the size of the ...
Adam's user avatar
  • 3,659
0 votes
1 answer
160 views

Derived address different from CLI to NodeJS

Basically I'm trying to create a system in which each user has it's own address to deposit on the site, however I'm having issues with monitoring addresses as they appear to be different results ...
Curtis's user avatar
  • 101
1 vote
1 answer
92 views

How to set a specific fee in satoshis per transaction?

I'm currently working on a personal project which is a small bitcoin exchange website, I've figured out how to create a raw transaction and broadcast it (createrawtransaction -> fundrawtransaction -...
Stan Loona's user avatar
1 vote
0 answers
111 views

How to get transaction size as byte before send with Python's bit library?

I am using bit library to make a Bitcoin transaction. I can use methods like this: key.create_transaction([('1Archive1n2C579dMsAu3iC6tWzuQJz8dN', 190, 'jpy')]) or key.send([('...
reza_khalafi's user avatar