Questions tagged [transactions]

This tag should be used for questions related to transactions. Transactions are signed messages regarding 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
2
votes
1answer
59 views

how does merkle root building work for empty array?

It's known that even if no transactions get created, bitcoin still creates a block with empty array of transactions. In this way, I am curious what the merkle root would be. How does bitcoin figure ...
0
votes
1answer
40 views

how does bitcoinjs-lib grab utxo

So, Let's say I want to create a transaction by using bitcoinjs-lib. As far as I can see, this library doesn't provide the help so that it can automatically figure out/grab unpent transactions for ...
0
votes
1answer
28 views

Is it possible to forward signed transaction using bitcoind prune mode?

Summary: Is it possible to perform createrawtranscation , signrawtransaction and sendrawtransaction rpc call using bitcoin in prune mode? Detail : I want to implement an API that performs p2p BTC ...
0
votes
1answer
48 views

Practical tips for validating raw transactions

I have a protocol that creates a raw signed transaction that is then broadcast to the network. The transaction aims to send X BTC to a single address Z. The transaction is created with the help of ...
0
votes
0answers
18 views

how to get txid with sha256

I am trying to get a txId from a transaction without any bitcoin libraries. I can use low level libries though such as crypto, sha256 and so on. I have a class which contains version, vins, vouts, ...
0
votes
0answers
12 views

Unconfirmed transaction almost 5days waiting :( [duplicate]

Anyone could help me this is my first time { "Version": "1", "LockTime": "0", "Vin": [ { "TxId": "...
0
votes
0answers
16 views

transaction has received 0 confirmations past 24 hour [duplicate]

I have the following transactions that stays unconfirmed for the past 24 hour: https://www.blockchain.com/btc/tx/4f52b345789e3fbdefd07842c7df993a3609047ee1fa51c1b3c53b863fc7dbfa is there anything that ...
0
votes
1answer
34 views

I inverted 2 digits to a wallet in a transfer

Is there anyway to contact the wallet owner to retrieve the coins? If the wallet doesn't exist, can the transaction be reversed? Is there anything that can be done?
0
votes
0answers
15 views

Bitcoin sent , no confirmation on receiver’s or sender’s end [duplicate]

Transaction ID: f6132f9d9e1b80d0c852a40a172d870a3f3d4a5a8f6706300a91bc704731cf96 I do not know what is going on. I have sent the bitcoin to the receiver’s address on the same wallet and the receiver ...
0
votes
1answer
304 views

Transaction taking a long time to confirm, now it doesn't even show up on Bitcoin Explorer [duplicate]

UPDATE: Electrum now says the transaction is "Local" and now I have an option to "broadcast", should I do that? OP: So, I'm trying to spend a small amount of bitcoin on a website (...
0
votes
1answer
51 views

Will the Bitcoin network discredit a transaction if you do a simple transfer on a multi-sig after you found the collision on that address?

Let's say you found a collision for an address on the Bitcoin network. You have its private key. Will you be able to transfer any money around or will the network prevent it or does it get verified? ...
0
votes
1answer
28 views

find a transaction [closed]

I made a bitcoin transaction and while I was typing in my email the window closed, so I didn't get my receipt. I have the phone number I used, one time password, wallet address, and the machine ...
0
votes
1answer
38 views

Error: Non-canonical DER signature when attempting to broadcast signed Segwit Transactions

I'm trying to build a native Segwit transaction programmatically, however, whenever I attempt to broadcast the transaction, it returns this error: non-mandatory-script-verify-flag (Non-canonical DER ...
3
votes
1answer
43 views

What is the “value” in a Segwit sig hash?

The BIP143 docs state that the value is: "value of the output spent by this input (8-byte little endian)" If I have a single UTXO of value 10,000 sats and I'm using this as an input for a ...
0
votes
0answers
16 views

Transaction sent to me stuck in processing status [duplicate]

Money sent to my Bitcoin address has been confirmed, but is still in the processing status. For 2 weeks now. Does this happen often? Is there any action i can take?
0
votes
1answer
46 views

Bitcoin Core ZMQ “hashTx”

Bitcoin Core ZMQ messaging system has hashtx along with 4 other topics. But nowhere it is documented whether the transactions that comes from hashtx are confirmed transactions which are added in a ...
0
votes
0answers
20 views

How to automatically get transaction while sending BTC?

Here is my SendBTC method. I do not want to pass fundingTransaction variable each time I call this method. Currently, I pass fundingTransaction value by looking up to https://testnet.smartbit.com.au/. ...
0
votes
1answer
40 views

NBitcoin Transaction sign(secret, bool) is giving error. Instead of bool it says to pass Coin Object

I am using NBitcoin (I'm new to it) to sign a transaction. Here Transaction sign(secret, bool) method is giving error. (I've searched the Internet, but got no help.) Instead of bool it says to pass ...
0
votes
0answers
11 views

Why transaction shows in received but does not show in balances [duplicate]

I had a transaction sent while the Bitcoin Core was syncing. Now the transaction shows up in the received transactions but there is no balance. Is it possible to recover the coin so I can move it to ...
0
votes
2answers
71 views

How many addresses can be in input and output of a transaction

I have read through this question and i understand that there can be many sender and receiver addresses within 1 transaction(i'm new to bitcoin transaction, previous i was working with ethereum where ...
1
vote
2answers
48 views

what does segwit remove?

It's said that Segwit removes signature data from transactions which makes block have more space for more transactions. Question 1) If SegWit removes signature data, where does it put it exactly ? ...
0
votes
0answers
40 views

how does node remove conflicting transactions from memory pool?

Sorry for the long text. This is just my observation and was wondering if you could let me know if I am correct or not. Case 1) Let's say minerA and minerB both have the same transaction in their ...
2
votes
1answer
99 views

how does node create UTXO from blockchain for the first time?

Let's say I am a new node. I try to synch with the full node to grab the whole blockchain. Now, I synced with it .It's time for my node to create UTXO database .. How does it do this exactly so that ...
0
votes
1answer
43 views

Blocks seem to store only txIDs, where does the transaction data come from for IBD?

I know that blocks store transactions. After looking into a block, I can see that it only stores txIDs. Question 1 - Where are actual transaction objects stored? If you tell me that it's stored in a ...
1
vote
2answers
106 views

Why do I see a Bitcoin address prefix starting with 4?

I have an old Bitcoin (Counterparty) wallet that I am importing past transactions. I found a Tx that has a missing output address on one API, but it shows on another. I cannot find any documentation ...
1
vote
1answer
44 views

double spend the mempool to outbid an attacker

if I spend some input in a tx and a few seconds later spends the same input with other inputs in another tx with higher fees. If the first tx is still in the mempool would the 2nd tx replace the first ...
1
vote
1answer
72 views

Transaction Output Order

Suppose I generate a transaction with 5 outputs. Is there a deterministic way to know how the outputs will be ordered on chain (their .n values) or will they simply appear in the order in which I ...
0
votes
1answer
61 views

I Found old wallet but there is new mined transactions but unconfirmed [closed]

the wallet is old but transactions are new 2020 transactions type : mined unconfirmed
0
votes
1answer
50 views

how does bitcoin's 6 confirmation really help?

I've read the following: transaction is “confirmed” once it is buried 6 blocks into the blockchain. This is taken to be a sufficient proof of work such that reversing 6 blocks to double spend coins ...
0
votes
1answer
26 views

How/where is the informatioin regarding the mapping of a transaction to a particular block stored?

According to the bitcoin white paper a block contains Previous Hash, Nonce and Root Hash. The root hash is a merkle tree root node of all the transactions that have been confirmed to that particular ...
1
vote
0answers
22 views

Why does printing a scriptPubKey have an extra OP_PUSHBYTES_20? [duplicate]

I am building a P2PKH script pubkey in code, and the standard format is: OP_DUP OP_HASH160 <PUBKEYHASH> OP_EQUALVERIFY OP_CHECKSIG However, when I print it (I'm using the bitcoin Rust crate) it ...
1
vote
1answer
82 views

How do I get new unconfirmed transaction from mempool?

I know there is a function that allows me to see all transactions that are in mempool, but is there a way to see every new transaction that enters mempool? Like log to file whenever new unconfirmed ...
0
votes
0answers
52 views

Using a bitcoin library to create digital signatures in TypeScript/Javascript

I have been trying to sign my transactions with a digital signature for the past few days but seems that libraries in bitcoin, as far as to my knowledge do not provide a simple way to sign the ...
3
votes
1answer
283 views

Is it theoretically possible to have an inverted nLockTime?

For example, an nLockTime == 500 prevents a transaction from being included in any blocks before the block 500. Why isn't there a parameter like nExpireTime == 500 that prevented a transaction from ...
0
votes
1answer
161 views

Cannot Find Transaction from Blockchain Explorer

I just withdrew some Bitcoin (BTC) from FreeBitco.in to this address: 1FCFLjBDk3BGbp2vtEPRNLcbGisZRUWfbV My withdrawal was confirmed by the website an hour agao, and I received an email from FreeBitco....
0
votes
2answers
428 views

How do I withdraw from an address

I made a Crypto purchase from Shapeshift yesterday, which was fulfilled by one of their partners called BANXA. I just received an email saying "Your order has been fulfilled and you will receive ...
2
votes
0answers
32 views

Sign transaction externally

I create a transaction with inputs from a given address / public key without signatures. Every input needs to be signed. I use a different method to generate the signatures so I can't provide a ...
1
vote
2answers
35 views

Is the first input in a transaction always the sender's?

I'm trying to figure out what the input address is from a transaction with multiple inputs. Can it safely be said that the first input in the inputs of the transaction is the sender's?
1
vote
1answer
161 views

How to create a transaction input from tx id of UTXO?

I'm in the midst of working this github --> https://github.com/karask/python-bitcoin-utils/blob/master/examples/spend_p2sh_transaction.py Sorry as I'm not that good in this. I would like to ask the ...
2
votes
1answer
33 views

Transaction parsing - Satoshi value

how exactly is the satoshi value in a raw transaction calculated to decimal? Because on blockchain.info, I cannot figure out how they parse the raw transaction from that value to the JSON result. I ...
0
votes
1answer
130 views

I sent bitcoin and put low tx fee (4sat/b). Unconfirmed for 3 days. Can it be forever? [duplicate]

I just want to withdraw bitcoin and put a low fee. It's been 3 days and nothing happened with it - Unconfirmed. So, can it be forever? Or how much time it may take to be confirmed? Or what should I do ...
0
votes
0answers
20 views

I made a transaction 7 hours ago, the transfer has not yet arrived. I didn’t know that it’s impossible to choose a low commissio [duplicate]

Good afternoon, I made a transaction 7 hours ago,0.0059 BTC, commission 0.0002 the transfer has not yet arrived. I didn’t know that it’s impossible to choose a low commission, because I did it for ...
1
vote
2answers
90 views

How to raise the bad-txns-vout-negative error?

I wanted to replicate the bad-txns-vout-negative error scenario. I tried the following but getting 'Amount out of range' only: Here is the command i tried: bitcoin-cli -named createrawtransaction ...
0
votes
2answers
174 views

Bitcoins stolen during transaction

guys! Recently, I transfered bitcoins from paxful wallet to bitcasino. Usually, it worked. Now, I cannot reach them, it looked to me like they were stuck on the way and I wanted to ask either side ...
9
votes
3answers
863 views

What's the most efficient way to create a raw transaction with a specific fee rate?

There seems to be a chicken and egg problem when it comes to creating a transaction that has a specific fee rate (sat/kW). In order to set a specific fee rate, you need to know what the total weight ...
3
votes
2answers
131 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 ...
1
vote
1answer
135 views

What happens if I buy BTC from an ATM, but the transaction never confirms?

I bought bitcoin through the atm machine, it was sent to me but is yet to be confirmed over 52hrs.. if the transactions later disappeared from the mempool / blockchain, how will the sender get back ...
0
votes
0answers
424 views

Abandon transaction in Bitcoin Core with -zapwallettxes (transaction isn't online in mempool yet)

EDIT: I have found another solution for my problem. I've started Bitcoin Core with my wallet.dat backup, which I have saved before doing the transaction. If I am right and Bitcoin Core hadn't send the ...
0
votes
1answer
80 views

How to check if one transactions is from the same wallet (public key) as a previous one

I wonder how to figure out whether one Bitcoin transaction is from the same wallet (public key) as any previous transaction in order to proof the ownership of a wallet.
1
vote
1answer
53 views

transaction (s) not going through due to low fees selected [duplicate]

I'm having a problem with a bitcoin transaction (not through btcpay, but i don't know where else to turn to). I sent 0.06btc from my wallet to my father (20 hours ago), and stupid as i am, decided to ...

1
3 4
5
6 7
61