Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [balance]

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

25
votes
1answer
9k views

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 ...
20
votes
2answers
5k views

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 ...
14
votes
2answers
2k views

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 ...
14
votes
5answers
8k views

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 dititally signed mesaage like "send 1 BTC to Bob" where Bob ...
8
votes
1answer
1k views

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 ...
8
votes
3answers
1k views

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 ...
7
votes
4answers
12k views

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 ...
7
votes
2answers
475 views

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 ...
7
votes
2answers
2k views

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 ...
7
votes
2answers
2k views

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!!
6
votes
3answers
8k views

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 ...
6
votes
3answers
5k views

Is there a way to pay my credit card balance with bitcoins?

So imagine that I have 200 USD on my credit card balance from a bunch of small purchases and bar drinks and tips that I want to pay using bitcoins. I know that I can but gift cards from gyft or do ...
6
votes
3answers
2k views

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. ...
5
votes
2answers
8k views

How to know balance in Ledger Nano S?

Ledger wallets have a single static address where to send BTC to, but when looking at the details of the transactions, it is always recorded as different receiving addresses. Looking up the static ...
4
votes
3answers
4k views

After sending some bitcoins, why do I have zero available to spend when I clearly didn't send my entire balance?

With some of the clients I use regularly (Multibit, Bitcoin for Android), I've noticed that, after I send bitcoins to an address, I have 0 BTC available to spend despite having perhaps a several ...
4
votes
1answer
1k views

What's the probability of vanity pools causing RIPEMD-160 (public key hash) collisions?

As Bitcoin vanity pools become more popular, the possibility of using that power to derive another person's Base58 public key hash becomes slightly more likely. I'd like to know if anyone has done ...
4
votes
1answer
278 views

What is the Big-O complexity to retrieve the balance for a user?

Here is the Q/A related to: How is a wallet's balance computed?. Based on this: [Q] What is the Big-O complexity to retrieve the balance for a user? Is it O(n), so basically do I have to iterate ...
4
votes
2answers
2k views

Why does blockchain.info show a different balance from bitcoin-qt?

I just created a wallet on blockchain.info by importing my wallet.dat from Bitcoin-QT. My Bitcoin-QT shows a balance of 3.991 BTC, while blockchain.info shows a balance of 3.016. Where does the ...
4
votes
1answer
3k views

How does Bitcoin keep track of account balances?

I downloaded the latest bitcoin client and am waiting for it to connect. How does it remember how much money a person has? Do I create an account and the balance is associated with the account each ...
4
votes
2answers
940 views

Is there any tool available that can tell me the balance of bitcoin address on specific date?

Is there any tool available that can tell me the balance of bitcoin address on specific date? Like, what was the balance of 1XXXXXX on Jan 1st 2016? Looked up insight: seems not available.
4
votes
3answers
2k views

How to get the bitcoin balance of a public key in C#?

How can I get the bitcoin balance of a public key in C#? E.g. for this public key: 1FqLoEpbQpMxow5bqEPpFbPVnBEbFcsg3J How can I get its balance in C#?
4
votes
3answers
4k views

Calculating “total received” and balance by an address

This is something which I think should be simple but it's driving me crazy. See for example this list of transactions associated with an address: https://blockchain.info/address/...
4
votes
2answers
3k views

Is there an Android app that will scan a QR code and show the balance?

What I'm looking for is an app that lets a person scan a QR code containing a Bitcoin address and then see the balance and transaction history for that address. For a specific use case, a mobile ...
3
votes
2answers
3k views

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 ...
3
votes
1answer
4k views

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 ...
3
votes
3answers
2k views

How do you get the balance of an address in your wallet using the rpc interface?

The current rpc interface only allows you to see either 1. The balance of the entire wallet 2. How much was received by an address (which is okay... if you never spend) Basically, I want to know how ...
3
votes
1answer
393 views

Bitcoin-cli how to get balance of a wallet on different node?

I am making a bitcoin mobile application, and I an trying to get the balance of a wallet that is on the mobile phone, from a daemon that is running on a separate node. The mobile wallet is connected ...
3
votes
1answer
326 views

How to get bitcoin P2SH (3*) address balance with bitcoind

i'm trying to understand how to calculate/obtain balance of a P2SH address added to my running bitcoind with "addmultisigaddress..." and that is properly displayed by the command "...
3
votes
2answers
93 views

What's an efficient model for redistribution of coins between wallets?

Let's say I have 50 addresses which have an average of 0.5 BTC. Some have two or three times the average balance, while others have less than 0.1% of the average. Many times per day an address is ...
3
votes
1answer
535 views

How to find the wallet balance?

I'm trying to find the balance of specific addresses in a wallet. I basically have the master key which I use to generate addresses but I wonder, is it possible to find the derived addresses that have ...
3
votes
1answer
2k views

My wallet balance says I have 12 mBTC but only allows me to send 2.63 mBTC. How can I fix this?

I have 12mBTC but when I try to send a transaction, after I enter the amount (allocating enough for fees) Electrum says that I have only 2.63 mBTC. When I go back to check, every transaction I ...
3
votes
1answer
353 views

How to programmatically determine the number of bitcoins ever deposited to a given address?

I am building an application for which I wish users to be given a unique address to which they can freely deposit funds into their account. Meanwhile, I want to be able to both track their balance and ...
3
votes
3answers
4k views

How can I check a public master address balance?

I have an extended public key, I need to check it's balance (I have no connection to wallet), is there a third party service for that ? Edit: This is not a bitcoin address. This generates multiple ...
2
votes
2answers
822 views

How do I figure out the balance of an individual address on Bitcoin for Android?

I have just installed the bitcoin wallet for android on my device and created two addresses. I transferred some BTC to one address and some to the second one. I thought the wallet will show the ...
2
votes
1answer
247 views

What is the easiest way to check what was the balance of address X at block Y? (without 3rd party services)

I need to have a possibility to check balance on every address. So far I tried used getreceivedbyaddress, but as far as I understand with this command I can check only addresses which I have in my ...
2
votes
2answers
3k views

How to get balance of tens of thousands of addresses?

What is the best way to get balance of large amount of addresses? I tried to use APIs from different providers, but they are limiting the requests. Is there any APIs that give premium service without ...
2
votes
2answers
2k views

How can I create a list of X richest bitcoin addresses?

I have looked around, but I can't find the code related directly to my question. I want to create a list in any format that contains the all accounts with balance over 0 for example. Thanks ahead for ...
2
votes
3answers
110 views

Can the service providing the bitcoin wallet know how much value has the user loaded into his wallet?

Say for example I run an ecommerce website which mandates users to have a minimum balance of 1 bitcoin in their wallets to access the platform. In the event the balance in his wallet falls below 1 ...
2
votes
2answers
170 views

Bitcoin core incorrect balance?

So I have ubuntu 16x running bitcoin core. Its a full node and fully synched. Run with bitcoind --daemon as suggested. Using a particular address from my wallet, whenever I send money to the address ...
2
votes
1answer
508 views

How to work out the balance for an HD Wallet extended private key?

I am working in C# with NBitcoin. I have created an extended master private key, and I can create the hierarchy of derived keys. In TestNet, I have requested some coin from a faucet, and the ...
2
votes
1answer
333 views

How can one extract an address balance at a specific height?

Is it possible to view the balance of an address at a specific height, without using any external web api? Could it perhaps be done using bx or the Bitcoin client API?
2
votes
1answer
199 views

How can I make MultiBit go one year back and then replay the blockchain?

Like a year ago, I got a some bitcoins. I was using Bitcoin-Qt back then. Because reading the whole blockchain since then takes a lot of time, I got MultiBit, created a new wallet and imported my ...
2
votes
2answers
6k views

How to check about 10 million bitcoin addresses?

A few years ago I deposited a specific amount of bitcoins into an address and wrote that address/private key down. I lost the last four characters of the address. I counted that each character can be ...
2
votes
0answers
147 views

Can I balance load between two instances of bitcoin daemon by switching RPC request?

The question is pretty simple. I have two instances of bitcoin daemon. When I'm running my pool with parallel RPC requests to each instance it calls daemons too often and daemons queue of RPC calls ...
2
votes
1answer
135 views

coinb.in wallet balance does not match “confirmed balance”?

Coinb.in wallet amount is different from "confirmed balance"? Is this because an earlier incoming transaction hasn't actually completed?
2
votes
1answer
138 views

Unconfirmed balance Multibit [duplicate]

I have read a lot of threads regarding this but haven't sovled it. My scenario is this. I have saved all the .zip.aes Multibit files on my Dropbox. Now I have reinstalled Windows on my computer and ...
2
votes
0answers
105 views

Calculating Account Balance [duplicate]

Is anyone familiar with how the standard Bitcoin client gathers account balances from the blockchain? I understand that the software will look through the blockchain to calculate the balance, but I ...
1
vote
1answer
174 views

Regtest: One node nullifying other node's balance

I'm running 2 bitcoind servers on the same machine, called node0 and node1. In the following I'm listing steps I take and results I get and I'm wondering what is causing one node nullifying other node'...
1
vote
2answers
752 views

Balance still not available?

I just sent bitcoins from one wallet to another to make my life easier. This was the goal, anyway. My balance in my new wallet went up, but it's still not available after 3 hours. Why might this be? I'...
1
vote
1answer
236 views

How does Bitcoin know if enough BTC are available for an account to allow a transaction?

Let's consider this simplified blockchain: BLOCK 108 address ddd111 received 2 BTC by mining block 108 BLOCK 109 address abc123 received 2 BTC by mining block 109 BLOCK 110 address xyz999 created ...