Questions tagged [balances]

The tag has no usage guidance.

65 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
331 views

How to add additional parameters to Ethereum Wallet?

I wish to add a few more fields to the wallet file & save it in the keystore so that I can manage them better. For instance, consider the following: { "address": "...
user avatar
3 votes
0 answers
382 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 ...
user avatar
3 votes
0 answers
127 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 ...
user avatar
  • 3,147
3 votes
2 answers
3k views

How to check Balance & send ERC721 Tokens

I have SPH ERC721 Tokens. How can I check balance like ERC20 and send ERC721 tokens token to Exchange or in other wallet ?
user avatar
2 votes
0 answers
68 views

Why is my rebasing token balance changing over time?

I bought some tokens for my wallet and noticed the quantity changes very slightly over time. I’ve seen this happen with several tokens, Im not sure why. Is this related to the way the getbalance ...
user avatar
2 votes
0 answers
138 views

parity json RPC eth_getBalance timeout on light mode

I have timeout problem with eth_getBalance on light mode enable on parity json-rpc. I have no problem with light mode disabled. Here my command on parity parity --chain ropsten --jsonrpc-apis all -...
user avatar
2 votes
0 answers
71 views

State transition model

It is known that Ethereum follows State transition model. How is the balance of each account known at any given time ? From my understanding, the yellow paper states that the balance is not stored on ...
user avatar
  • 29
2 votes
0 answers
502 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 ?
user avatar
2 votes
0 answers
217 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, ...
user avatar
  • 121
1 vote
0 answers
41 views

How to withdraw from contract exact amount of ether?

Suppose I have a contract: contract mycontract { constructor() payable {} function withdraw(uint256 amount) public { // either //payable(address(msg.sender)).transfer(...
user avatar
  • 11
1 vote
0 answers
71 views

Able to Produce Blocks but Still Balance is Zero

Kindly find the following results below from my Mac Terminal: miner.start(1) --> null miner.stop() --> null eth.getBalance(eth.accounts[0]) --> 350000000000000000000 eth.syncing --> ...
user avatar
  • 51
1 vote
0 answers
192 views

Able to Import my Account from Geth to MetaMask but No Balance Shown

I'm able to mined to my Accounts in Geth and have successfully imported to MetaMask. Problem, is in my Geth Console, I have the balance of the Mined Accounts but after imported to MetaMask, the ...
user avatar
  • 51
1 vote
0 answers
112 views

BlockNumber stuck on 0 while a private network node is looking for peers

I'm extremely new to Blockchain and mining, and I've followed this tutorial to create my first private blockchain. I am stuck when it comes to mining and I'm afraid I'm quite lost. Afte I've started ...
user avatar
1 vote
2 answers
844 views

How to get balances of all the accounts(~1000) in Geth node?

How can I get the balance of all the accounts in my Go Ethereum node? I have about 1000 accounts and it is too slow to use eth_getBalance to get balance for each address. Are there any ways to use ...
user avatar
1 vote
0 answers
208 views

What is missing to make a successful payment between payer and recipient?

I tested both signing payment and signature verification that is implemented by JavaScript and EthereumJS here: And both of them (signing and verification) properly work, meaning that I am sure the ...
user avatar
  • 2,518
1 vote
1 answer
187 views

Balance Of and the amount raised does not increase sender an account

Can someone give me a hint or correct what is wrong with the code. Maybe it is obvious where the error is but I do not see it and I'm stuck. What to do next ?. The code is here: https://ropsten....
user avatar
  • 67
1 vote
2 answers
4k views

JSON RPC get address balance

I'm trying to get the ether balance for any ethereum address. I've set up a node with the Ethereum daemon, but as far as I can tell, using eth_getBalance you can only get the balance of your own ...
user avatar
  • 11
1 vote
0 answers
65 views

My balance is 0.00 after update. What to do?

I updated my Mist Wallet to 0.9.3 on Mac. When I started it, I saw that my balance is 0.00 which isn't true. Etherchain shows 24 ETH for my wallet. It has nothing to do with syncing. Everything is ...
user avatar
  • 11
1 vote
1 answer
69 views

Dealing with keystore files

I have linux based miner with geth wallet. I've backed up keyfile (starting with UTC ... ..... ) into my second computer based on Windows where I've sucessfully imported it into Geth keystore folder. ...
user avatar
  • 131
1 vote
0 answers
433 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 ...
user avatar
1 vote
3 answers
179 views

See in geth if a smart contract (ICO) was never executed

If I send ether to a smart contract, how can I see in geth, that it was rejected? I want to see which of my transfers were accepted by an ICO and which were not. I don't see any such field in ...
user avatar
  • 31
1 vote
2 answers
239 views

Ethereum Miner validation

I have created a private block chain with three Peers. Peer A is having an account which is having 20 ether. Now I am trying send 21 ether from peer A's account to peer B's Account. It is not throwing ...
user avatar
  • 35
1 vote
0 answers
357 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. ...
user avatar
1 vote
0 answers
692 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 ...
user avatar
0 votes
0 answers
11 views

When using remix IDE. how can I initialize a balance for the owner of the contract in the constructor?

I wanted to assign put in atleast 1 ether inside the balance of the owner of the contract. pragma solidity ^0.8.0; contract EtherWallet { address public owner; mapping(address => ...
user avatar
0 votes
0 answers
26 views

How to create a snapshot of all ETH balances at a given block

A similar question can be found here: How to take a snapshot of addresses and balances of all normal addresses? The top solution is still possible today, but the 1-2 week timeline is unfeasible. ...
user avatar
  • 71
0 votes
0 answers
33 views

How do I calculate the circulating supply for a given token/token address from blockchain data (bigquery-public-data)?

The Following Query does not work WITH incoming as (SELECT a.to_address, a.token_address, b.symbol, SUM(SAFE_DIVIDE(SAFE_CAST(a.value as BIGNUMERIC),POW(10,CAST(b.decimals AS INT)))) as ...
user avatar
0 votes
0 answers
31 views

Is it possible to exchange one token for another via web3.js in Metamask?

I need to transfer one token to another on my website, in Metamask (for example, ether to bnb or ether to matic). In Metamask, you can select the desired coin, click "Swap" and you can ...
user avatar
0 votes
1 answer
13 views

I need help with balances

I would like to create a balance for each "vault". for example i will have my struct: struct unnamed { string[] crowdFundName; } I would like to add a balance to each vault for ...
user avatar
0 votes
2 answers
43 views

Increasing ETH balance of a contract on deployment

I am building an exchange where you can buy and sell tokens. I have a contract Exchange. It contains a function sellTokens which will take the amount of tokens entered by a user and give them a ...
user avatar
0 votes
0 answers
187 views

How to automatically get gas and gas price average values in web3.js?

I want to automatically get gas and gas price averages in web3.js and update them periodically. Here are the values (low, average, high) for gas prices. But they are constantly changing, and changing ...
user avatar
  • 117
0 votes
2 answers
28 views

why I am not getting balance of contract?

when I call the getbal() of contract "Account" it shows 0 balance but when I call createacc() of contract "accountfactory" with value=30, accountfactory's balance becomes 9.but ...
user avatar
  • 1
0 votes
0 answers
35 views

Balance in wallet not updated after mint

on my test token using OZ ERC20 I can mint successfully and the tokens show in the wallet. this is the relevant code contract TestToken is ERC20, Pausable, AccessControlEnumerable { ...
user avatar
0 votes
0 answers
142 views

web3.eth.filter error. How to track incoming transactions to ethereum wallet via web3.js (in Next-JS)?

I want to create a website that will transfer money in real time from my ethereum wallet to another ethereum wallet. To do this, you need a script (.js) to monitor the balance of my wallet in real ...
user avatar
  • 117
0 votes
0 answers
25 views

How to implement a "deposit" functionality for a service with users?

Let's say, there's a service I'm building, and there're users that can sign up for it. I want to allow each user to deposit their funds, and, of course, track them. The requirement I have is that it'...
user avatar
  • 1
0 votes
0 answers
22 views

Сall smart contract method from web3js bot. Is it possible?

I wrote a smart contract (.sol) in Solidity language that redistributes money from an Ethereum wallet to other Ethereum wallets. I need that when money is credited to the first wallet, a smart ...
user avatar
  • 117
0 votes
0 answers
23 views

Is possible to remove an already hosted smartcontract and already hosted web3.js/ethers.js bot?(I mean Ethereum & Polygon;I have a private wallet key)

I need that when money is credited to the Metamask (Ethereum and Polygon) wallet, the money is automatically transferred to the smart contract. I was advised to write a bot on web3.js and ethers.js ...
user avatar
0 votes
0 answers
20 views

Privilege for a list of addresses

I want to give free mints to people who owns an NFT from another collection. I can do it through importing interface of another contract and calling the balanceOf function with the related address, ...
user avatar
0 votes
3 answers
835 views

How to call a payable function and pay from the contract balance?

First, this is not a duplicate question of these ones: How can you call a payable function in another contract with arguments and send funds? Calling and funding a payable function from existing ...
user avatar
0 votes
0 answers
178 views

API for getting the total balance (net worth) of an address?

Etherscan can get the total net worth for all tokens of an address, ETH and ERC-20, e.g.: https://etherscan.io/tokenholdings?a=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 Other services like Zapper.fi ...
user avatar
  • 101
0 votes
0 answers
11 views

Can someone HELP a NOOB with Hex crypto

Please someone help me! I am very new and so freaking confused about Erc20 crypto tokens. I have an app I use called Hex Network and I have "mined" a good bit of Hex and have made 3 ...
user avatar
0 votes
2 answers
474 views

Wait for a transaction to be mined ends too soon

I got a simple python script that sends a signed transaction then wait for the transaction receipt. All is working perfectly, but when I poll my wallet (a metamask wallet) just after the reception of ...
user avatar
0 votes
0 answers
91 views

Check whether the msg.sender has a polygon ERC-721 token in their wallet within a Ethereum ERC-721 contract at time of mint

I'm trying to figure out whether it's possible to check if the minter has a polygon nft in their wallet at time of mint for an ethereum nft. Take a look at how Bored ape kennel club did it https://...
user avatar
0 votes
0 answers
8 views

Best way to collect state of addresses for contract X

I want to collect the state (balance) of all addresses of contract X. I'm interested in the historical state too. I'm trying to recreate the balance based on transfers. I'm using getPastEvents ...
user avatar
0 votes
0 answers
49 views

Balance of token not appearing in my wallet (Ethereun ERC20)

I transferred AAA Tokens to my own wallet deposit which is under Network Ethereum ERC20. Etherscan seems ok towards my success transaction Txid: ...
user avatar
  • 1
0 votes
0 answers
159 views

Provide button to claim token without showing my private keys

The player will claim their rewards (a token) and pay a fee through their wallet. How does this process happen without my needing to display my private keys on the front-end? What I know so far is ...
user avatar
  • 101
0 votes
0 answers
111 views

Best way to get balances of multitude of addresses

I have a list/array/map of addresses. I want to keep track of their balances on the front end. Currently, the front end is calling the balanceOf() function for each address and updating based on the ...
user avatar
  • 775
0 votes
0 answers
87 views

how to use usdt in erc20 full node

I have a full node synced atrium installed with GETH. I want to deposit some more currency and eth and usdt and 1inch in the addresses that this node account gives me, but I do not know how to ...
user avatar
0 votes
0 answers
201 views

How to get the balance of any Token other than ETH?

I'm using ether.js library and infura as provider, the code works for getting balance of Eth: const provider = ethers.getDefaultProvider(Provider_network, { infura: MY_INFURA_ID }) const balance = ...
user avatar
  • 213
0 votes
1 answer
756 views

Get balanceOf tokens ERC721 (nethereum)

Just trying get count of uniswap NFT-s on 0x5794d36de0c21211a7906688981371132bd7c6f0 wallet Step one: Get contract from adress 0xc36442b4a4522e871399cd717abdd847ab11fe88 (Contract address for uniswap ...
user avatar
  • 103