<p>i didn't work with bitcoin-core before and after i run the app i generate an address and send some bitcoin to it, now the bitcoin-core says i should download the whole blockchain before giving you your balance and as you know it's not a small data (about 450GB). is it possible to get the private key of the address or any way to get out the bitcoins without downloading the whole blockchain? i tried <code>dumpprivkey</code> and it returned <code>Only legacy wallets are supported by this command (code -4)</code>. my address is a <code>bc1</code> type of address.</p>

CC BY-SA 4.0
2024-04-15T17:39:34.677Z
Related: https://bitcoin.stackexchange.com/q/6056/5406, https://bitcoin.stackexchange.com/q/2124/5406
Murch
CC BY-SA 4.0
2024-04-16T09:55:38.500Z
Does this answer your question? [How do I get the private key of an address in descriptor wallets? How to dumpprivkey?](https://bitcoin.stackexchange.com/questions/107216/how-do-i-get-the-private-key-of-an-address-in-descriptor-wallets-how-to-dumppri)
RedGrittyBrick
<bitcoin-core>
How to get the balance before downloading whole blockchain in bitcoin-core
user150958
# How to get the balance before downloading whole blockchain in bitcoin-core

(Asked by: username_0 on 2024-04-15)

i didn't work with bitcoin-core before and after i run the app i generate an address and send some bitcoin to it, now the bitcoin-core says i should download the whole blockchain before giving you your balance and as you know it's not a small data (about 450GB). is it possible to get the private key of the address or any way to get out the bitcoins without downloading the whole blockchain? i tried `dumpprivkey` and it returned `Only legacy wallets are supported by this command (code -4)`. my address is a `bc1` type of address.

**Tags:** bitcoin-core

> **Comments:**
> **username_1**: Related: https://bitcoin.stackexchange.com/q/6056/5406, https://bitcoin.stackexchange.com/q/2124/5406  
> **username_2**: Does this answer your question? [How do I get the private key of an address in descriptor wallets? How to dumpprivkey?](https://bitcoin.stackexchange.com/questions/107216/how-do-i-get-the-private-key-of-an-address-in-descriptor-wallets-how-to-dumppri)  

---

## 0 answers

