Questions tagged [transactions]

Transactions are signed messages carrying out the transfer or generation of bitcoins. They are broadcast throughout the Bitcoin network and, if accepted, integrated in the blockchain.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

How was this transaction validated?

I'm having trouble understanding how the following transaction was valided (Block 364845 July 2015) : 2c6c27639e79038cf446e795e267dc8abbe96d1f21cdd17518cc6b57ad2d86d9 It has one input, and is ...
3 votes
2 answers
763 views

How to sign a transaction using BitcoinJ

I am having problem signing the transaction using BitcoinJ library without the Wallet instance, I only have the Transaction class instance and the ECKey in order to sign the transaction. Is there a ...
2 votes
2 answers
3k views

How to send Bitcoin from one addresss to another using nodejs

which api i can use to tranfer BTC from one address to another. I have knowledge about bitcoin-transaction api but it does not allow to setup fees. We have try this api but it cost too much high for ...
4 votes
1 answer
523 views

How do exchanges automate transfer of Bitcoin from a cold storage wallet?

Most exchanges use Cold Storage to store the bulk (approx. 95%) of their user assets. Only a relatively small amount (approx. 5%) of funds are held in their Hot Wallet. My question is, what process is ...
0 votes
1 answer
89 views

There are twice as many coins on the balance as it should be, but when sending it becomes zero

I sent myself coins from one wallet to another. After the coins came, I made a copy and deleted the wallet from my computer. After a while, I re-restored the wallet, the balance was three times larger,...
0 votes
0 answers
18 views

My three transactions haven't been confirmed [duplicate]

I have three transactions that have not been confirmed as of 9/22/2023. How can I grind out when the transactions will be confirmed.
0 votes
0 answers
110 views

I want to generate raw transaction data in Nodejs

The information I have Source address Destination Address Source private key Amount That's it. I don't know much about bitcoin, so I worked hard to get this information from the private key of the ...
1 vote
1 answer
135 views

p2wpkh spending problem

I use unsynced bitcoin core wallet because data is too costly and I do not trust anything other than bitcoin core, people told me to do so. Playing around I originated this transaction id: ...
0 votes
1 answer
42 views

Time lock... Invalid transaction

Been playing around with timelock transactions, made one to do a test went to do the spend and it was accepted by the network. However my transaction isnt confirming, I tried doing another one upping ...
8 votes
1 answer
375 views

Is there a transaction propagation delay built in?

When a node receives a transaction it verifies it and then sends it to its neighbors. My question is: does the node broadcast the transaction right away or is there a delay built in (privacy concerns) ...
1 vote
2 answers
207 views

Strange double-spending attack possibility

In Bitcoin you can have different UTXO with different public keys in a single transaction. So suppose someone broadcasts a transaction with sending 10000 BTC. Theoretically I can copy this transaction,...
0 votes
1 answer
25 views

blockchain.com websocket not working

I started to listen to the "wss://ws.blockchain.info/inv" websocket address in the link below, but none of the transactions I made were sent to the messages. Later, when I tried the ...
-1 votes
0 answers
29 views

Unable to sign PSBT at index, Error: No taproot scripts signed

hi I am trying to create a transfer transaction using Hiro/ leather wallet and send one transaction of transfer of ordinals Transfer function `const walletAddress = localStorage.getItem('...
1 vote
1 answer
79 views

How much on-chain activity is to and from exchanges?

Are there any data services which provide metrics that show how much of the transactions on the Bitcoin blockchain are to and from exchanges?
1 vote
4 answers
908 views

How should I store data for a transaction graph?

I am trying to make bitcoin transaction graph, but I am not sure how to go about it. I have extracted the necessary data from blockchain like the sender, receiver, amount of bitcoins sent, transaction ...
2 votes
1 answer
218 views

How does CoinJoin affect the total transaction size?

As I understand it, CoinJoin is a method to aggregate multiple transactions into a single transaction, mostly for privacy purposes. How does this aggregation affect the total size of the transactions?...
0 votes
1 answer
43 views

What will happen to btc If i tried to broadcast transaction before the established locktime block height passed?

i have a problem. If someone send me btc with locktime and I accidentally tried to broadcast transaction before established block height passed, what will happen? Am i still be able to receive btc ...
1 vote
0 answers
23 views

OP_CHECKLOCKTIMEVERIFY Using Python on Bitcoin Mainnet

I am trying to create a raw bitcoin transaction in hexadecimal form using python and I'm having trouble successfully broadcasting a transaction that uses OP_CHECKLOCKTIMEVERIFY (that is, fund-freezing ...
3 votes
1 answer
86 views

What percentage of bitcoin supply sits on certain UTXO output type?

What percentage of bitcoin supply sits on certain UTXO output type? Is there any dashboard that shows that? I found a dashboard displaying UTXO count but not the BTC supply per UTXO type.
0 votes
1 answer
134 views

Invalid p2sh transaction accepted by the network

I have try to build a 2 of 2 p2sh transaction from scratch using the book "programming bitcoin" by Jimmy Song, we are not directly guided to make one of those so I had to modify some of the ...
0 votes
0 answers
19 views

My transaction has been pending for 5 days [duplicate]

My transaction has been pending for 5 days, there is no confirmation, (pending) can you help me?
0 votes
2 answers
55 views

HOW TO SPEND P2SH with Redeem Script Hex?, Already make the transaction but still have some error

I HAVE ERROR "scriptsig-not-pushonly" on this ...
0 votes
2 answers
52 views

Script evaluated without error but finished with a false/empty top stack element (Electrum gives error)

My raw Transaction ...
0 votes
0 answers
48 views

How to spend P2WSH address with full redem script and witness program?

I just put few dollar in here. Bech32 Address: bc1qx6c07u2s6pu6d5ede8ee9hmynahp9edgg764cm58gfxmryk3ryqsxarnnv Witness Script Hex 76a914b1217062623d9101426f61593cb1abc3e44ed00488ac Witness Script Asm ...
0 votes
0 answers
27 views

How can I address the 'Mempool transaction rejected due to low fee' error when attempting to send a Bitcoin transaction with insufficient fees?

I've encountered a 'Mempool transaction rejected due to low fee' error while trying to send a Bitcoin transaction with a low fee. I'd like to understand how I can resolve this issue and successfully ...
0 votes
1 answer
47 views

What fields of a coinbase transaction can be empty?

Is it correct to say: As the coinbase transaction doesn't need to identify an output, there is no need for the input scriptSig. Would a block be accepted in which the coinbase transaction has an ...
1 vote
1 answer
100 views

Error Validating Segwit Transactions using Python Blockcypher API: Error Running Input Script

As the title states, I'm trying to send a Litecoin transaction using the Blockcypher API Python SDK, and using Bitcoinlib for key management. I have extensively reviewed the documentation and source ...
40 votes
3 answers
48k views

Who gets Bitcoin transaction fees?

Whenever I send bitcoins from one wallet or one exchange to the next there is always a fee. This makes sense with the exchange sites, they are just collecting the fee so they can make a living. What ...
1 vote
0 answers
71 views

Transactions only work the first time

I'm implementing the code to sign and send Bitcoin transactions on testnet, using the bitcore library, in javascript. I need some help, as once I try to broadcast my transaction, it gives me this ...
0 votes
2 answers
81 views

Transaction blocks vs bitcoins

Sorry if this question is too basic or if it has somehow been answered before... My understanding is that any type of Bitcoin block must be first mined, which applies to transaction confirmations, for ...
2 votes
3 answers
1k views

Bitcoin transaction with dust output stuck

I made this transaction more than 24 hours ago, and it still has no confirmations at all. What should I do? This transaction was created by the mobile Blockchain.info wallet. At the time, it didn't ...
-1 votes
1 answer
2k views

How to send Bitcoin in the Testnet?

I'm using this library: https://github.com/lian/bitcoin-ruby And here's my code: require 'open-uri' require 'net/http' require 'net/https' require 'json' require 'bitcoin' Bitcoin.network = :...
3 votes
1 answer
141 views

What is the transaction hash preimage for different values of SIGHASH (not SIGHASH_ALL) in P2PKH?

I have a few questions regarding the transaction hash preimage when signing with different values of the SIGHASH flag in the case of the P2PKH script. I know what the transaction hash preimage looks ...
3 votes
2 answers
315 views

In Electrum, how does one watch/poll a wallet for an incoming payments to a certain address via API?

I want to create a simple way to accepting bitcoins on my own, using Electrum. I don't except big volume. I suppose, I'd have at most a handful of incoming payments in the beginning. That is, I ...
2 votes
1 answer
323 views

Manually checking for credited bitcoins

If I have the bitcoin address, the private key and a transaction ID from Bitcoin (regtest mode) in shell variables, what Python code do I need to run to claim the Bitcoins are indeed intended for this ...
0 votes
1 answer
163 views

unrecognized output wallet when using Electrum to send bitcoin

help me understand this transaction - https://www.blockchain.com/ro/btc/tx/1318a3e54cff78fdd8f6b54e6fe5115072586091788c9bfa08ca82d83e4bc276 . Never sent bitcoin from hardware / hot wallet before so I ...
0 votes
1 answer
72 views

My bitcoin transaction hasn’t confirmed for 2 months [duplicate]

I sent a transaction with a very low transaction fee and the transaction has been waiting to be confirmed for the past 2 months. How long until the bitcoin is returned to my wallet or sent through?
0 votes
1 answer
45 views

Partially signed bitcoin transactions

Is the psbt data format the only way to exchange information about the Bitcoin transaction or is there another way to do it?
0 votes
0 answers
33 views

Obtain raw hex transaction data from Transaction-Id (in Rust)

Trying to find some way to make that serialization but I do not know if it is possible. I try bdk or bitcoin crates and I am not able to get anything right. I would like that my function would do the ...
1 vote
1 answer
40 views

Why are unused offline generated addresses showing up on blockchain.com [duplicate]

I've created two addresses using the nodejs javascript library 'bitcoinjs-lib' version 5.2.0. In both cases if I enter them into blockchain.com, they show a zero balance with zero transactions. I ...
0 votes
1 answer
26 views

Mixing some concepts with encodings

Is it some difference between psbt hex and transaction hex or both of them are the same? I guess the psbt format is in base58 and the raw transaction and transaction id is in hex format. So before ...
0 votes
1 answer
1k views

Is there any way for me to recover or reclaim a confirmed but unspent transaction that was sent to the wrong address?

I sent money to the wrong address. I am not a developer and I only understand the blockchain in its most general terms.....but I use bitcoin everyday so I have a working knowledge of it. It's hard for ...
0 votes
1 answer
50 views

How to implement stake.com model of deposit & withdraw flow for my crypto poker casino?

In stake.com for each user they generate separate bech32 address for deposit & displays the deposited amount as balance in top of the navigation bar. Similarly for withdraw they just ask for the ...
21 votes
1 answer
2k views

Are Bitcoin transactions permitted to have no outputs (i.e. all inputs become transaction fee)?

I am interested in the possible use of the Bitcoin (or other altcoin) blockchain as a generalized distributed ledger, meaning that it is useful for tracking information other than coin transactions ...
0 votes
0 answers
18 views

suspicious transaction from a cold wallet to cold wallet [duplicate]

Dears, Please help me to understand what happened with a bct transaction I made from one cold wallet address to another. In short: I transferred the correct amount in the receiving address and when I ...
2 votes
2 answers
71 views

How should Bitcoin exchanges complete their UTXO consolidations and what factors should they consider?

How should Bitcoin exchanges complete their UTXO consolidations and what factors should they consider i.e. regularity, fixed or variable intervals, consolidate into how many UTXOs etc?
3 votes
0 answers
43 views

How to make sure the user receives lightning payment?

I am working on a side project to allow users to receive some payments from it. When a user clicks a button to withdraw to a lightning address, my webapp makes a request to the host of that lightning ...
4 votes
2 answers
2k views

How do I get the scriptPubKey type from the raw output script?

I use zeroMQ to get the transactions from Bitcoin Core. The output looks like this: { value: 200000, script: <Buffer 00 20 e3 30 7e 8e 0b 63 0e 53 c2 f1 f8 17 06 7b ce 01 c4 38 92 83 3e 02 2d ad ...
1 vote
1 answer
28 views

`fundrawtransaction` error when trying to spend an HTLC

I'm trying to use the fundrawtransaction RPC command in order to create a transaction spending an HTLC output. Here is the command i've entered: fundrawtransaction "...
0 votes
2 answers
90 views

BITCOINJ: how to make my wallet aware again about change of my transaction status after my server restart?

Using bitcoinj, my server created a transaction and it was broadcasted on the blockchain. I can get its history using: walletAppKit.wallet().getTransaction(txHash) It is in Pending state. Then I ...

1
2 3 4 5
68