Questions tagged [balance]

Current amount of currency units (bitcoins, ppcoins, real money, etc.).

Current amount of currency units (bitcoins, ppcoins, real money, etc.).

180 questions
30
votes
1 answer

How is a wallet's balance computed?

I am wondering on how a wallet's balance is computed. Basically, from what I've read I assume that you look back at all transactions involving all the keypairs of a given wallet. Adding up all the transactions' balances (negating a transaction…
marcus
  • 301
  • 1
  • 3
  • 3
23
votes
5 answers

How does the network know my current balance?

Maybe I haven't yet fully understood how transactions work. And if so, please forgive me my stupid question. But I assume it to be "just" a digitally signed message like "send 1 BTC to Bob" where Bob is identified by its public key (of course…
TomS
  • 341
  • 1
  • 2
  • 5
21
votes
2 answers

The Bitcoin.it wiki says addresses do not carry balances...but all info suggests otherwise

The Bitcoin wiki states, "Addresses are not wallets nor accounts, and do not carry balances." Yet, there's a zillion articles online about Bitcoin address balances, the Bitcoin blockchain explorers show balances, and so on. Can you explain the…
Howiecamp
  • 315
  • 2
  • 7
14
votes
2 answers

Is my account balance publicly visible?

If I'm sending someone my wallet address, am I making my account balance visible to him? As far as I understand, all transactions are public, which means that if I know an address, I can reconstruct the current account balance via the blockchain.
Chris
  • 243
  • 2
  • 6
11
votes
4 answers

Is it possible to use xpub address to monitor balance from previously generated addresses?

I'm trying to find a way where I can view balance of my ledger nano s wallet without always attaching it to computer all the time. I found something called xpub address which allows me to generate public addresses without my hardware wallet, I am…
Ilja
  • 215
  • 1
  • 2
  • 8
11
votes
4 answers

How to check Bitcoin wallet balance without any API

I am building an application and that will involve large set of bitcoin wallets and need to keep on checking for balance. I don't want to use any third party APIs as they all have hourly/secondly limits. Is there any way I can check bitcoin wallets…
Karthik Malla
  • 265
  • 1
  • 4
  • 9
11
votes
2 answers

How to get balance from a specific address in bitcoinj?

I'm trying to get the balance of a specific address in a wallet by using bitcoinj, but I don't know how. Can someone help me? Thanks in advance!!
Ander Acosta
  • 412
  • 3
  • 12
8
votes
1 answer

Wallet balance zero after restoring wallet.dat

I recently restored my wallet.dat file from another machine. The wallet.dat came from a Linux machine (debian), and was restored to a Windows bitcoin install. After restoring I can see the correct bitcoin address, but the balance is 0 BTC. The…
8
votes
3 answers

Checking/polling a balance of an address in Electrum via the command line/RPC

Suppose, I've dynamically -- via the command line/RPC -- created an address or payment_query in Electrum. And saved its details in a database along with the amount of bitcoins I expect to receive. How can then check/poll if that amount of bitcoins…
Kolayn
  • 81
  • 1
  • 3
8
votes
2 answers

Where is my bitcoin balance stored in the blockchain?

This is possibly a duplicate but, since I am a Bitcoin dummy I cannot find it. Anyhow; as I understand (and I will make some assumptions here), a block in the blockchain contains one or more transactions. Transactions are typically bits of…
Stefan
  • 183
  • 1
  • 6
8
votes
3 answers

Why are balances not in the blockchain?

Currently one needs to traverse the full blockchain to determine the balance of a certain address. Wouldn't it be much more efficient to include the new balance along with each transaction? That way clients wouldn't need the whole blockchain to…
Maestro
  • 1,967
  • 1
  • 18
  • 29
8
votes
2 answers

How can I have friend to send me money without possibility to see my balance?

How can I have friend to send me money without possibility to see my balance? When I give him address where to send bitcoins, he can use e.g. https://blockchain.info or http://bitref.com/ to find my balance. If I create new address, let him send…
relaxxx
  • 183
  • 4
8
votes
2 answers

How to retrieve all addresses with non-zero balance and their balances?

I'm looking for a way to retrieve all address balances of addresses with a non-zero balance in the blockchain. Is there a software tool that can calculate the balances in an accessible format? Or perhaps I can download them somewhere? With an…
Steven Roose
  • 11,473
  • 8
  • 44
  • 71
7
votes
2 answers

Calculating address balance

Is there some method how you can calculate the balance of an address without resorting to web-based API's? When I import a private key the rescanning of bitcoind takes hours. I know to get a balance you would need to iterate over all transactions in…
Maestro
  • 1,967
  • 1
  • 18
  • 29
6
votes
3 answers

How to query all utxos of an address from a full node?

I am new in the blockchain field, and I am trying to build my own block explorer from scratch to really learn about Bitcoin. I am currently running a full node in a raspberry pi, and I have already decoded the chainstate/UTXO-set with a levelDB…
Oscar Serna
  • 854
  • 1
  • 7
  • 13
1
2 3
11 12