Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

how to calclate the fee of a segwit transaction? [duplicate]

I am using bitcoin-js to construct a PSBT transaction. Suppose address A has 10 UTXOs, each containing 0.0001 BTC. Now I want to construct a transaction to send 0.0005 BTC to address B. If I use 5 of ...
user151983's user avatar
2 votes
1 answer
276 views

Estimating virtual bytes of a transaction seems circular

I'm sorry if this has been answered before, but I haven't found anyone really bring this up. I am trying to construct a PSBT, which assumes a fixed feerate and a fixed amount to send to some address. ...
Sherwin Li's user avatar
1 vote
1 answer
754 views

How to calculate fee in BitcoinJS raw transaction?

I have a transaction with 3 inputs and 2 outputs. 1output is the recipient and the other output is change address. How should I calculate the fee and apply it to output?
Amirhosein Rajabi's user avatar
0 votes
0 answers
125 views

Transferring partial BTC between wallets if I know both private keys [duplicate]

Is there a way to transfer/import partial amounts of BTC from one wallet to another off the chain in order to avoid transaction fees? I assume this is how services like Coinbase get around letting you ...
Devan Buggay's user avatar
0 votes
1 answer
274 views

Having issues broadcasting BitcoinJS transaction.

I'm trying to send testnet with bitcoinjs, but when I go to broadcast the hex, it gives me an error code that says "fee is too high: 12372928". Now, from my understanding, the fee is the input - ...
Setheroni's user avatar
1 vote
1 answer
1k views

Specifying fee amount using bitcoinjs

I'm currently playing with bitcoinjs (https://bitcoinjs.org/) and I'm creating offline transactions that I broadcast over the network after. I've successfully create my first transaction using this : ...
Jérémy Seban's user avatar