Skip to main content

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.

310 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
723 views

Bitcoin RPC: How to find the transaction that spends a TXO?

I suspect there is no good way to do it. However is there any sub-optimal way to find the transaction that spends a transaction output (knowing the txid and index) with Bitcoin RPC? Assuming txindex=1 ...
nopara73's user avatar
  • 836
4 votes
1 answer
64 views

What are the malleability threat vectors when passing PSBTs to other actors?

If I am passing a PSBT (Partially Signed Bitcoin Transaction) between multiple people, and I pass on my signature for my UTXOs for given inputs, can someone take advantage of malleability and cheat me ...
arshbot's user avatar
  • 1,788
4 votes
1 answer
2k views

Building Signed Bitcoin Transaction in Java

I have been attempting to build my own raw transaction generator in Java which I can then broadcast on the testnet network. The problem is when I attempt to broadcast the transaction it says there is ...
user2965346's user avatar
4 votes
0 answers
413 views

How to explore transaction chain via Original Bitcoin API as blockexplorer does it

Is there any possibility to explore transaction chain via Original Bitcoin API (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list) as the blockexplorer does it. If not, why?
tokyo's user avatar
  • 65
3 votes
0 answers
23 views

How to broadcast transactions in bitcoin regtest mode?

I build three nodes named A,B,C based on bitcoin-regtest image of docker. And these three nodes are in the same network which means they can communicate with each other. In node A, I use bitcoin-cli -...
Lawrence Yang's user avatar
3 votes
1 answer
73 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 ...
Sergei Basharov's user avatar
3 votes
1 answer
128 views

Is it credible that a "stuck transaction" was the true cause of Binance pausing bitcoin withdrawals?

It is reported that Binance is blaming a "stuck transaction causing a backlog" as the reason it prevented people withdrawing their bitcoin for some hours on the 13th June 2022. I do not ...
User65535's user avatar
  • 163
3 votes
0 answers
61 views

How to calculate the hashes in Lightning

I was wondering how I calculate the hashes regarding BOLT03 Specification: The Revocation Pubkey is calculated like this: revocationpubkey = revocation_basepoint * SHA256(revocation_basepoint || ...
ziggie's user avatar
  • 51
3 votes
2 answers
360 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 ...
zirnamaraji's user avatar
3 votes
1 answer
6k views

manually signing bitcoin transaction

I'm trying to create a BTC transaction with one input and two outputs, one for change and one OP_RETURN to anchor data. And I'm doing all of that on my regtest backend. The raw unsigned transaction is ...
codemedian's user avatar
3 votes
0 answers
1k views

How to directly query leveldb database to get get a record by transaction hash or by sender's address?

I learned that the blocks and transactions are stored locally in .bitcoin/blocks/index and .bitcoin/chainstate databases, respectively. I want to make a direct query to those databases to measure the ...
Noureddine's user avatar
3 votes
0 answers
5k views

Electrum transaction still says unconfirmed parent

A transaction from Electrum is still showing unconfirmed parent even though the previous transaction in the chain has completed. Electrum has shown this for 24 hours now. I realize that my fee is ...
Megarano's user avatar
3 votes
0 answers
102 views

Whisper Implementation in Bitcoin

Is there some kind of implementation in bitcoin to communicate between nodes, which is similar to the Whisper Communication in Ethereum ? Whisper, is a communication protocol for DApps to communicate ...
jgm's user avatar
  • 758
3 votes
0 answers
424 views

Cannot obtain a lock - Already deleted lock file

I am trying to open Bitcoin Core of "Cannot obtain a lock on C:User/App..." I deleted the lock. file like previously suggested but cannot find a solution after that! If I reinstall will I loose the ...
Finn's user avatar
  • 31
3 votes
0 answers
330 views

How to ignore balance check to cancel unconfirmed transaction (double spending)

I need to cancel a transaction that was sent without fee (using Blockchain.info). It is currently "Unconfirmed". The only way I have found is to do a double spend of the whole wallet, specifying a ...
Erwin Mayer's user avatar
3 votes
3 answers
1k views

Get transaction that spent a transaction id

The blockchain.info API allows for querying information about a particular Transaction by its ID. But if you want to follow the coins to the next transaction, I'm not seeing what the next query should ...
MidnightLightning's user avatar
3 votes
2 answers
802 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 ...
Firass Obaid's user avatar
2 votes
0 answers
108 views

Qualitative anatonomy of a transaction that uses ANYPREVOUT

I am entered the world of bitcoin recently and currently I am studying the broad area of covenants (that are gaining more attention from the community, see 1). In this context, certainly the BIP-0118 ...
Lorban's user avatar
  • 143
2 votes
0 answers
164 views

How can I recover from a "Bitcoin not sent" error on Bitcoin wallet

I use the Bitcoin wallet by the Bitcoin Wallet Developers. Wallet 9.03, Android 9, Huawei P10 Plus. After trying to send bitcoin to my Coinbase account, the message "Bitcoin not sent" ...
Roar's user avatar
  • 21
2 votes
0 answers
43 views

Calculation of different Pubkeys in Lightning according to BOLT03

Lightning uses different Pubkeys to gain more privacy and security, I am not sure how they are calculated. In BOLT03 it says: The corresponding private keys can be similarly derived, if the basepoint ...
ziggie's user avatar
  • 51
2 votes
0 answers
41 views

When did Bitcoin start to allow more than 2 transaction outputs?

The original Bitcoin paper specifies that: Combining and Splitting Value (...) Normally there will be either a single input from a larger previous transaction or multiple inputs combining smaller ...
Amade's user avatar
  • 123
2 votes
0 answers
110 views

Sending a transaction from a Trezor One with outdated firmware and lost recovery seed

I have a Trezor One with firmware 1.4.2 and I have lost the recovery seed. I'd like to send a transaction from the device to another address that I control. However, because of its outdated firmware, ...
super_merry's user avatar
2 votes
0 answers
78 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 ...
Bernd Strehl's user avatar
2 votes
2 answers
374 views

How to exchange small amount of bitcoin?

Hi I have a little question could you tell which is the best method to exchange 2.27mBTC (18€) in euros or USD? I registered on coinmama but the minimum for them is 50€ is there any other exchange ...
Fra''s user avatar
  • 21
2 votes
0 answers
143 views

Address final balance is 0 after receiving 0.003 BTC

I generated a new BTC address (address A). I tried to send 0.003 BTC to address A. After sending them from my coinnomi wallet, the balance of address A remains 0 and from output seems that 0.003 BTC ...
iasonas ladias's user avatar
2 votes
0 answers
472 views

Step by Step to Connect to ElectrumX via Nodejs

I am developing a simple app that will need to retrieve BTC wallet Address Balance and relative transactions Initially I thought to use some existing APIs (btc.com, blockchain.com etc.), but the ...
FiNaR's user avatar
  • 21
2 votes
0 answers
442 views

Getting Error "Unable to sign input, invalid stack size (possibly missing key)"

I have created a key from using coinstring, and then imported it into my wallet. Then I ran: bitcoin-cli signrawtransactionwithkey "$rawtxhex" "[\"$mykey$\"]" But it results in: Unable to sign ...
Lance's user avatar
  • 221
2 votes
0 answers
375 views

How to send & receive bitcoin using bitcoinjs-lib?

First I create HD Wallet using BIP32 using mnemonics. Now I want to generate new child addresses with private key using xpub & xpriv for every receive. Then for example, I received BTC in 2 ...
Monarth Sarvaiya's user avatar
2 votes
1 answer
101 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?
AdaptiveAnalysis's user avatar
2 votes
0 answers
58 views

Script and DER in P2PKH

Im trying to figure out the script and DER In P2PKH, the "first part (scriptsig)" push in stack (<sig><pubK>) because is it DER? Instead the "second part (scriptPubKey)" you can map the ...
monkeyUser's user avatar
2 votes
0 answers
335 views

Broadcasting signed transaction from Watching wallet using bitcoinj

I am working with watching wallet and Offline wallet using bitcoinj, I created Watching Wallet using tpub key of Offline Wallet I am receiving payment on watching wallet Fine, now I want to ...
Zombie's user avatar
  • 548
2 votes
0 answers
549 views

Stateless vs Stateful wallets

Stateless wallet are wallets that do not store any information locally on the device. Stateful wallets are wallets that store information such as index of unused address. According to my ...
Infinity's user avatar
  • 183
2 votes
0 answers
479 views

Abandon Transaction or Increase fee

I'm using Bitcoin core v0.15.1 and I am trying to send my BTC to coinbase. I have waited over 72 hours since initiating a transaction and when I right click the "abandon transaction" and "Increase fee"...
Stevie O's user avatar
2 votes
0 answers
928 views

How is the transaction fee for sending bitcoins using Electrum wallet calculated ?

I am trying to understand how is the fee for transaction calculated for desktop wallets like electrum.
Gaurav Sarma's user avatar
2 votes
0 answers
97 views

How do you apply “-zapwallettxes” for multbit 0.5.15

I made a transaction a few months ago but the transaction is still not confirmed, the Bitcoins are debited from my account and the balance in my wallet is zero. Information on the transaction The ...
Martijn's user avatar
  • 21
2 votes
1 answer
1k views

How does merkle tree verification of transaction work?

From what I have read, suppose B sends 1 bitcoin to C. C wishes to verify B's payment and asks C for the block number (location) that input transaction is located at. (Is this correct understanding/...
Geo Mez's user avatar
  • 61
2 votes
0 answers
94 views

Is a replay-attack-proof soft fork possible?

Say there is a soft-fork. A is the chain that implements it, B is the chain that has a transaction that's valid pre-soft-fork, but invalid post-soft-fork, so it's following the old rules. We know that ...
Jimmy Song's user avatar
  • 7,759
2 votes
0 answers
69 views

Banned bitcoinj node ip

I've created many raw transactions today and after an hour I found out that my bitcoin node is only connected to 3 peers (testnet). Is it possible that my node has been banned due to wrong or double ...
Dragomirus's user avatar
2 votes
0 answers
53 views

What bitcoin clients provide GUI support for "BIP 125 Opt-in Full Replace-by-Fee Signaling"?

What bitcoin clients provide GUI support for "BIP 125 Opt-in Full Replace-by-Fee Signaling"? If there are no GUI bitcoin clients that support it are there supported command line bitcoin clients?
Jeff's user avatar
  • 121
2 votes
0 answers
151 views

Specific fee in transaction

Is there any possible way to send transaction with specific fee (not fee per kb) from wallet in bitcoinj? Where should I look to find a solution :)? My code: Address address = Address.fromBase58(...
Dragomirus's user avatar
2 votes
0 answers
275 views

I need to send a message to the person resposible for a specific wallet

Using Multibit, we sent btc to an incorrect wallet address. We have sent a small amount of BTC to this address before, so it is listed in our wallet's Transaction list, but is unfortunately not ...
Karl's user avatar
  • 21
2 votes
0 answers
505 views

Bitcoin sending transaction error

I recently bought some Bitcoins(around 0.5) and sent some to a friend. He got them direct. Today I wanted to transfer some more but it didn't work. Every transaction was an error, besides one very ...
Alexander Ernst's user avatar
2 votes
0 answers
437 views

Creation of <20-byte hash of redeem Script> in a P2SH Transaction

According to this example: Redeem Script: 2 PubKey1 PubKey2 PubKey3 PubKey4 PubKey5 5 OP_CHECKMULTISIG Locking Script: OP_HASH160 <20-byte hash of redeem script> OP_EQUAL Unlocking Script: Sig1 ...
gtopal's user avatar
  • 359
2 votes
0 answers
126 views

Include Bitcoin-Transaction within database-Transaction

I am writing a system that uses the Bitcoin Core JSON-RPC API. Use case: user wants to withdraw some BTC to his BTC address. My application handles this request by the following logic: Check if ...
Darxis's user avatar
  • 121
2 votes
0 answers
135 views

Need to do 400 transactions, how do I get them confirmed?

I tried to send 0.00000001 btc to about 7 addresses, and paid the 0.0001 fee. But it seems like this transaction won't go through ever. Those coins are lost :(. I have about 400 sponsors, and they ...
user3493746's user avatar
2 votes
0 answers
462 views

CoinBase Callback URL in Java

I using CoinBase API for transactions in a game. I assign a callback URL with the address so as to get instant notification on payment transactions. the URL is called but it is not sending any data. ...
RahuJoshi's user avatar
2 votes
0 answers
750 views

Missing transactions with blockchain.info

All of the quick send transfers I've made on blockchain.info do not show up in my blockchain.info history. Furthermore, a person I have made a few quick send transaction with is claiming 0 ...
Ron Garrity's user avatar
2 votes
1 answer
1k views

What is the required input for python-bitcoinlib getrawtransaction command?

I am running a bitcoin node on my machine, fully synced with RPC commands enabled, rpc server live and txindex=1. In the command-line I can run the following RPC call and obtain the information ...
Oonah's user avatar
  • 95
2 votes
1 answer
232 views

Is there any party who is archiving all transactions that have been broadcast?

There is a person claiming that Blockchain.info/wallet sent a transaction but for whatever reason that transaction never got included in a block. If the transaction is valid today but perhaps just ...
Stephen Gornick's user avatar
1 vote
2 answers
50 views

Presign transaction with unconfirmed outputs

I am wondering whether the following scenario is possible. Any help is very appreciated. Alice and Bob are creating a (taproot) 2-of-2 multisig together. They do not trust each other. They intend to ...
Neo's user avatar
  • 53

1
2 3 4 5
7