Questions tagged [balances]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

web3.eth.getBalance returns always zero

I have an ether account (whose details I prefer not to disclose here). I can confirm in etherchain.org that it has the correct amount of funds. I can also check that the funds were transferred in ...
2
votes
2answers
1k views

Send Token and Check Balance

I want to better understand how to check how much of a token is in my account and how to send that token to another address. For example, suppose I own some Melon (MLN) and want to check how much I ...
0
votes
0answers
126 views

can't get transfer to execute

I am trying to run the following solidity function: function test() payable { msg.sender.transfer((balances[msg.sender]/1000)*this.balance); } Where this.balance is 0.1 Ether and balances[msg.sender]...
1
vote
2answers
315 views

Does use of geth removedb zero my account balance?

Geth syncing is stuck for several hours. I want to delete my blockchain using geth removedb. Will this affect my account? Will my balance become zero?
1
vote
1answer
206 views

Funds sent to a contract does not show up in the contract

I have this simple contract which has a payable method. contract Betting is usingOraclize { function Betting() { //... } function sendEther() payable returns (uint) { return msg.value; ...
2
votes
0answers
41 views

Ropsten: Ether is not in my account, but I think it should be [duplicate]

I'm a bit confused... I've created an Ethereum account in Ropsten, and have fed it some Ether (more than 20) via faucet. Yesterday I synched my node with Ropsten and I could see the balance correctly,...
2
votes
2answers
1k views

How can I get ETH balance with pending transaction?

I use web3.eth.getBalance to get balance of a specific address. I want to get how amount of unconfirmed ETH the address has. var Web3 = require('web3'); var web3 = new Web3(new Web3.providers....
0
votes
1answer
1k views

Error: invalid address during getBalance and send Raw Transaction

Im using web3.js to retrieve the balance for the main account on my geth server I set: let provider = new web3.providers.HttpProvider(ethereumNode) web3.setProvider(provider) if (!web3....
1
vote
1answer
325 views

How to rescue my Ether [duplicate]

This comes happening being some time with me and i'm getting upset about it. In some terminal, i start geth with: geth -rpc --mine --fast --cache=1024 And in another terminal i start mine with my ...
1
vote
0answers
622 views

Calculate ERC20 token distribution [closed]

I'm tasked with determining the current distribution and live wallet stats of a particular ERC20 token. My experience with Ethereum development is largely with web3js, and have a strong idea on how I ...
1
vote
1answer
2k views

How to return balance of smart contract for particular address in solidity?

I want to create a function which will accept address as argument and return balance of smart contract here is what i function get_balance(address _add) { balance = balanceOf[_add]; ...
2
votes
2answers
997 views

How to calculate the amount to transfer to completely empty an account?

So let's say my wallet is 1 eth, I need to completely empty it and I'm going to do it this way Var value = web3.toWei(1) - gas Is that right?
3
votes
0answers
319 views

Account and/or Balance not found in Geth for Smart Contract Deployment

Error 'Error: Account does not exist or account balance too low' Overview I'm trying to deploy the greeter smart contract in the ethereum.org/greeter tutorial. I downloaded/validated the ...
0
votes
1answer
142 views

If you know someone's ethereum address do you effectively know their balance? [closed]

Let's say someone pays you, can't they figure out your balance since the ledger is exposed to the public?
1
vote
0answers
340 views

Why is my Ethereum Wallet balance wrong, even after sync? Etherscan vs. Wallet mismatch

Why does my Ethereum wallet disagree with Etherscan? It's been 24h. I made the transaction from Kraken myself, so I know the Wallet is wrong. I don't think this is a duplicate question, because I've ...
1
vote
1answer
1k views

How to send from multiple accounts to the one account in the contract

For example, I have 3 accounts with balances: 1 account - 5 ether 2 account - 15 ether 3 account - 7 ether I want to send 20 ether, so it will be used 1 and 2 account. I understand, how to make ...
2
votes
0answers
485 views

Geth always returning a 0 balance?

i´m mining now for about 3 days with 3 rigs each with over 50Mh/s, but my balance is still 0. Does anybody know why ?
1
vote
2answers
249 views

Why is my account balance after executing the contract so different?

I'm writing a test for a Lottery contract: var Lottery = artifacts.require("./Lottery.sol"); contract('Lottery', function (accounts) { var ACC_FABIAN = accounts[0]; var ACC_RENE = accounts[1]...
0
votes
1answer
82 views

Ethereum balance not confirmed by online blockchain explorers

When doing eth.getBalance(eth.coinbase) on my geth machine I get some non-empty balance. When checking the same account in one of many online blockchain explorers, this account is either non-existent ...
0
votes
2answers
398 views

Lost coins of the Ethereum?

Please help me to understand the situation: I sent coins using an Ethereum transaction 0x0ae4b10100ddd1da0a22e6130903294dad57aa763a0a74580660904edc4512b2 Coins from the balance were written off ...
0
votes
1answer
74 views

Can someone please tell what the code would be to check ether balance at a particular point in time?

I want to understand how to check ether balance at a particular point in time.
4
votes
3answers
1k views

Ether.li transfer problem

I still can't transfer my Eth's from Ether.li to another account. “Please fund your user account with sufficient ether (~0.01 ETH / tx) for gas (transaction fees)“ That's what the site tells me to ...
1
vote
0answers
350 views

Balance not displaying in wallet

Hi, if anyone can provide some help with this issue: I recently downloaded ETH Mist Wallet and am @ 93% synced. My balance that I transferred to my "Main Account" is not displaying in my wallet. ...
3
votes
1answer
3k views

How to get balance of a token in 1 line of code on Ubuntu

To get the balance of ether in an address, I am using the code below. (1 line) sudo geth --exec \ "web3.eth.getBalance('0xf6e5911696a3729a7740cbdcd64c05bc2eec60e7')" attach I get: ...
2
votes
1answer
985 views

Why don't these transactions add up to the account's total balance?

I'm looking at the balance of this wallet address: https://etherscan.io/address/0x9a77d0900323b5f2b6cff6138569846406cf7456 There is an IN transaction from Poloniex to this wallet of ~33 ETH, then an ...
1
vote
1answer
2k views

Retrieve ETC balance using geth

I'm struggling to retrieve my current ETC balance using geth. For mining I'm running: ethminer -F http://etc-eu1.nanopool.org:18888/<ADDRESS>/<NAME> -G Syncing the blockchain with geth: ...
0
votes
1answer
1k views

How can I refer to my actual ether balance in a smart contract?

Not the tokens created in a contract but the balance which I allocate in the genesis.
3
votes
1answer
4k views

Myetherwallet doesn't show my balance [duplicate]

I sent some ether to a myetherwallet address. When I load up the wallet info page it says 0 ETH balance, but the link to the etherscan.io address shows the correct balance.
5
votes
2answers
2k views

How can I add some balance to the address in private blockchain testnet?

Geth Version: 1.6.1-stable Git Commit: 021c3c281629baf2eae967dc2f0a7532ddfdc1fb Architecture: amd64 Protocol Versions: [63 62] Network Id: 1 Go Version: go1.8.1 Operating System: windows GOPATH= ...
3
votes
1answer
57 views

UTXO Output greater than Input

I reviewed the transactions from a recent ICO. The account below provided the largest investment. If you check the account, there is a far greater Out value than In. I was under the impression ...
6
votes
1answer
2k views

How are Ether balances stored on the Ethereum blockchain

My understanding of Bitcoin is that balances are not stored but are instead calculated by summing all in and out transactions. Are Ether balances calculated in the same way or are they stored ...
2
votes
0answers
32 views

Ethereum balance is 0 on local (geth) despite etherchain.org reporting it has ether [duplicate]

I bought some Ether over 4 hours ago: https://etherchain.org/account/0x3d74c07013285b31049ecc7d9cb078cd1aa8ea96 When I run the following script on my local machine I get: $ geth console > ...
4
votes
1answer
3k views

Why “Insufficient funds” error?

I'm trying to send a transaction into testnet from an account having a balance of 516,561,000 Babbages. According to my calculations, this is exactly the cost of the transaction to perform. ...
1
vote
0answers
598 views

Why is the balance of the ethereum account still zero after I create a token based on the private chain I built?

0 down vote favorite I used the contract codes available on the ethereum official website,to create an advanced token on the private chain run in geth console. The version of geth is 1.5.5,and the ...
1
vote
0answers
148 views

Parity account balance not updated [duplicate]

I'm using parity in ropsten testnet. My account address is 0x00562e88274Ac44752913955EEEd4CAa939C6abB. On etherscan it says that account balance is 4 ether but on parity it says that "There are no ...
1
vote
1answer
490 views

Using Web3.js, balance is shown 0 while https://test.ether.camp/ shows different balance

I am running an ethereum node remotely using a start-up shell script. The command in the shell-script is as follows: /usr/bin/geth --testnet --rpc --rpcport "5678" --rpcaddr "0.0.0.0" --rpccorsdomain ...
0
votes
1answer
714 views

How can I check an address to see what custom tokens has been generated at it?

How can I check an address to see what custom tokens has been generated at it? This is a testnet (Ropsten) address for example: 0xc8f836f4236e3e58f5417589b2d677abd7558cd5 I know that on Ropsten it ...
3
votes
0answers
120 views

How are patricia trees used to prove the balance of an account?

I understand how merkle trees are used to prove the balance of an address with a small subset of the blockchain. On the Ethereum case, though, the result of a transaction could depend on the final ...
3
votes
0answers
120 views

My Ethereum balance not showing up in Mist 0.8.6 or Ethereum wallet 0.8.6 [duplicate]

I have just switched to parity because geth doesn't work at all for me. I have synced and opened new mist 0.8.6 but I don't see my balance. What am I doing wrong? How to add an account and show my ...
5
votes
1answer
832 views

Why Are Balances Not Displaying On An Imported Wallet in Mist? (It Does Appear on Etherscan) [duplicate]

I just got a new computer, installed Mist 0.8.8, synced the entire blockchain, then copy-pasted a UTC wallet file from my old computer into my new computer's %appdata%>keystore directory. The wallet ...
3
votes
0answers
188 views

Ethereum wallet shows “no accounts yet” and 0.00 balance [duplicate]

I last used Ethereum wallet in June or July this year. Yesterday I upgraded on macOS to 0.8.7. It is syncing very slowly; at this rate it will take a week to finish the remaining 189,000 blocks. In ...
2
votes
0answers
202 views

Replacement of Bitcoin's 'account' and 'listunspent'

I accept Bitcoin at my website. I use self-developed merchant, based on Bitcoin Core JSON-RPC calls. Now I also want to accept Ethereum. I downloaded geth and as I see it has absolutely different, ...
2
votes
1answer
70 views

Is there a way for contracts to share balances?

I am looking for a way for people to be able to send ethers to two contracts (two different address). But I need the balance between these two contracts to be shared. So that one contract can use the ...
2
votes
1answer
619 views

When will the Baddies have access to the hacked funds on the Ethereum Classic chain?

The Baddies drained 3641694.241898506992612606 ETH via The DAO's child DAO #59. When will the Baddies have access to the hacked funds on the Ethereum Classic chain? See also: Which split proposal ...
3
votes
2answers
233 views

Transaction not performed, morden.ether.camp has different transactions than me (Morden)

I'm on morden network. I received Ether and waited roughly one hour, but I have > web3.eth.getBalance("0x3061c735f4e9172a3c66d07fcde6ea560bb3369c") 0 However, the transaction is confirmed: https:...
5
votes
1answer
505 views

Is it possible to deplete all funds in an Ethereum account?

I have an Ethereum account loaded with Ethers and I need to spend all of them, leaving account final balance at exactly zero Weis. Is that possible? I know using method eth_estimateGas() and ...
4
votes
1answer
3k views

How to get the token-balance of an external token in my contract

I'm building a token contract with a sell and buy function. User should be able to buy my token not only for eth but also for another token, that I define. Therefore I need the balance mapping of the ...
2
votes
1answer
122 views

Clarification on ethereum block number

When we are searching to update the balance on ethereum we got this link Click here. But now in our server the latest block number is above 1900000 but till now we didn't get update the balance. When ...
4
votes
1answer
2k views

What is the address and balance of The DAO's extraBalance account

From The DAO - Creation: In the first 14 days, The DAO tokens are created at a rate of 1 ether = 100 tokens In the subsequent days before the end of the creation period, the number of ethers for each ...
9
votes
1answer
2k views

What are the balances of The DAO and it's child DAOs on the Ethereum Classic chain?

At the hard-fork block #1,920,000, the ETH balance from The DAO and it's child DAOs (which includes the balance from the extraBalance account) were transferred into the Withdrawal contract. What are ...