Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [bitcoin-cli]

The Bitcoin-Core wallet provides a Command-LIne-Interface (CLI) that can be used to retrieve information from the wallet or to perform certain actions.

1 vote
1 answer
95 views

How to spend a multisig descriptor wallet transaction with bitcoin-cli?

I am looking for the correct way to spend multisig outputs with descriptor wallet bitcoin-cli. In regtest, I successfully created a funding transaction tx1 with the following outputs: out:0 sh(multi(1,...
Alec Matusis's user avatar
1 vote
1 answer
56 views

Why does walletprocesspsbt finalize the psbt but not return the transaction hex?

I am currently using walletprocesspsbt to optionally finalize a psbt and fill in bip32derivs if not signed already. The psbt is fully signed and finalized but I have to make an additional rpc command ...
Fontaine's user avatar
  • 522
1 vote
1 answer
34 views

"Error parsing JSON": how to use `testmempoolaccept` on Windows?

The documentation for bitcoin-cli testmempoolaccept suggests bitcoin-cli testmempoolaccept '["0100000001abcd..."]' but that throws Error parsing JSON. I have tried numerous variations of ...
Captain Fantastic's user avatar
0 votes
1 answer
39 views

How do I get Bitcoin Core's estimated confirmation time for a given transaction?

What RPC command can I run with Bitcoin Core (bitcoin-cli) in order to get a transaction's estimated confirmation time?
Geremia's user avatar
  • 4,704
2 votes
0 answers
41 views

How to claim funds in a multisig address from a money pool psbt?

Mostly followed this guide on how to create a psbt where multiple users pool money together. Everything is done in regtest. The gist of what I did is as follows: Created 2 different descriptor ...
Psi's user avatar
  • 21
0 votes
0 answers
27 views

importing data to a wallet as not watch-only

I am trying to use private keys, addresses, and public addresses I generated myself. (for educational purpose). I am working with bitcoin-cli by inserting the inputs I've generated myself. (in CMD) ...
 solaxab's user avatar
1 vote
0 answers
25 views

Can mediantime be used as a proxy for expected time of the most recently mined block?

I'm using Bitcoin Core CLI to get block info: .\bitcoin-cli.exe getblockchaininfo Among other things, this returns two items: "time": 1713464903, "mediantime": 1713461780, I ...
Hannah Vernon's user avatar
  • 1,558
-1 votes
1 answer
40 views

bitcoin block chain - database - how to request / how to get status of an object? [NOOB]

I wonder about the bitcoin and blockchain. I think I have understand the purpose of a blockchain. (security/decentralisation) Ok we save transaction on blocks validate thanks to the proof of work. But ...
Marcel kobain's user avatar
0 votes
1 answer
71 views

Is there a method in the Bitcoin RPC API to view all transaction records of a given address?

I used the listtransactions method to get transaction records, but it returned an empty collection. Is it a configuration file problem or other reasons?
muxi's user avatar
  • 11
2 votes
1 answer
306 views

Moving the entire directory to new location for Bitcoin Core CLI

I use Bitcoin CLI and not the QT one, when syncing i used a external SSD to store blocksdata in SSD, obviously noob me didnt know of datadir function Now my Chainstate, txindex are in roaming folder ...
123demigod's user avatar
1 vote
2 answers
108 views

How to use Bitcoin Core GUI to view all transaction records of a certain address?

I want to implement this function: given a Bitcoin address, what should I do to view all transaction records of this address?
muxi's user avatar
  • 11
0 votes
0 answers
30 views

Bitcoin Transaction

How to code a Bitcoin transaction, including the address creation feature in Rust ? Which crates we have to use? Any blogs or resources would be very helpful
lladane's user avatar
  • 11
1 vote
0 answers
17 views

How do delete wallet with blank walletname?

I seem to have created a blank wallet at some point that looks like this: bitcoin-cli listwallets [ "", "mainwallet" ] How can I delete the "" wallet? It doesn't ...
inersha's user avatar
  • 3,185
1 vote
2 answers
862 views

Recover bitcoin from wallet.dat from 2012 (probably not backed up properly)

Ok. So I have a bitcoin core wallet from around August, 2012. I don't think I backed it up "properly" in that I just copied the wallet.dat file, zipped it and stuck it in cloud storage. I ...
Jon Grah's user avatar
  • 131
0 votes
1 answer
143 views

Mempool not accepting transactions: 'reject-reason': 'insufficient fee'

I'm using Bitcoin Core, and for some reason, it doesn't want to accept transactions when I already have other transactions in the mempool, even if those transactions are using different UTxOs and they ...
Nahum Maurice's user avatar

15 30 50 per page
1
2 3 4 5
30