cheatgebiet on Nostr: Hey #[0], I have a question that you might be able to help me with. When you send ...
Hey
mattoshi (npub1hyl…76k4), I have a question that you might be able to help me with. When you send multiple inputs in a transaction, the size of the transaction increases and so does the miner fee. In my research on how the fee changes depending on the size and inputs of the tx, I found several calculators that calculate the size of a tx based on the number of inputs and outputs. For a hypothetical tx with three bech32 inputs and one bech32 output + fee, Sparrow Wallet told me that the tx size was about 150 vB. The calculators all came up with just under 280 vB. Why the discrepancy? Do the calculators include the witness data?
Published at
2023-05-10 17:49:10Event JSON
{
"id": "60051e30abad3cf689d09cf5106395e3f7003cd088a3257b2297d22cfcffe6db",
"pubkey": "70f446757f5e67763b0aecd8e5070f68797ef9ceff5af4bdb16a26217b01f5a8",
"created_at": 1683740950,
"kind": 1,
"tags": [
[
"p",
"b93f691b77bb057f930582dd6333c5dba164a11f58ce5fef4fe3409066653e8e"
]
],
"content": "Hey #[0], I have a question that you might be able to help me with. When you send multiple inputs in a transaction, the size of the transaction increases and so does the miner fee. In my research on how the fee changes depending on the size and inputs of the tx, I found several calculators that calculate the size of a tx based on the number of inputs and outputs. For a hypothetical tx with three bech32 inputs and one bech32 output + fee, Sparrow Wallet told me that the tx size was about 150 vB. The calculators all came up with just under 280 vB. Why the discrepancy? Do the calculators include the witness data?",
"sig": "8fc2eedd06b0cf09d91b9466a60fd98dd4b73fdc41769214bad97971eb496fc9702c6e0f6a85a02f55a2d96eaec4479e58eb0664f787f98120b2389cc98da730"
}