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.

300 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
410 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
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 ...
Sergei Basharov's user avatar
3 votes
1 answer
101 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
  • 153
3 votes
0 answers
47 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
0 answers
53 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,710
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 ...
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
4k 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
101 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
409 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
328 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
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 ...
Firass Obaid'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
2 votes
0 answers
92 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
36 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
38 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
107 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
57 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
330 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
121 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
399 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
396 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
328 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
0 answers
54 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
319 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
443 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
461 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
916 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
94 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
93 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,729
2 votes
0 answers
68 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
52 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
478 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
434 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
125 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
614 views

Coinbase lost my transaction from Bitstamp

I'm moving my coins out of Bitstamp I was looking for another exchange. I have sent 0.00007 BTC to just test the transaction. I got the address where I want to send coins to from coinbase.com/...
Freddy's user avatar
  • 145
2 votes
0 answers
134 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
461 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
231 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
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 ...
paranoid's user avatar
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 ...
Cursed's user avatar
  • 11
1 vote
0 answers
52 views

Recovered bitcoin public keys do not verify the signature

I need to recover public keys on the bitcoin chain for a project, my current flow is like this: Get hash + signature from bigquery -> Use nodeJS secp256k1 module (native bindings) to import ...
Ano's user avatar
  • 11
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 ...
AlexCav's user avatar
  • 51

1
2 3 4 5 6