Linked Questions

36 votes
9 answers
96k views

How to get transactions by account using web3 js?

I'm sure this question was asked before, but I did not find any result that helped my problem. How can I get the transactions (in and out) for a given account? I use nodejs and web3? With this line ...
Christoph Bergmann's user avatar
30 votes
6 answers
13k views

How to make miner to mine only when there are Pending Transactions?

As of now the geth miner running on my system mines even empty blocks. All i wanted is miner should mine only when there are Transactions to mine, after mining the miner should immediately sleep. ...
Subhod I's user avatar
  • 927
22 votes
3 answers
22k views

How to list transactions from account address?

I have a small service where people can exchange cryptocurrencies. Every user has its own Bitcoin, Litecoin, etc address for balance deposit. Now I want to add Ethereum. So I thought I will create ...
dmxhZGp1c2hh's user avatar
21 votes
9 answers
13k views

Block explorer running on private network

Is there any application out there that allows me to explore the Ethereum blockchain in a private network? (something similar to what blockchain.info does to bitcoin or etherchain does to ethereum ...
Henrique Barcelos's user avatar
19 votes
2 answers
3k views

In a private blockchain, why do miners keep adding empty blocks to the blockchain?

I have been working on a private blockchain and observed that a miner, when started, keeps on adding empty blocks with no transactions to the blockchain. Why is this happening? It doesn't make any ...
galahad's user avatar
  • 3,930
16 votes
4 answers
21k views

How to obtain all transaction of a contract?

I'm trying to obtain all the transactions of a contract, but in all cases I only obtained [] or undefined. I'm following this posts: Common useful JavaScript snippets for geth web3 filter option not ...
Gawey's user avatar
  • 824
11 votes
3 answers
9k views

How can all transactions sent to an address be found?

Currently it is possible to see only the last 100 transactions from sites like etherchain (link to TheDAO contract transactions), how can all transactions sent to an address be seen?
Valentin's user avatar
  • 123
10 votes
5 answers
13k views

Find the creator of a contract

I want to prove that a contract was deployed by a specific address (a factory contract). I have noticed that block explorers such as https://etherscan.io/ list the contract creator. How do they get ...
Joe's user avatar
  • 1,183
8 votes
2 answers
3k views

How do I know if a submitted block became an uncle?

We need to detect that the submitted work became an uncle. How would I do this with geth api? I thought of checking the submitted block number later for any uncles that match my block's hash. Is there ...
bolaum's user avatar
  • 123
6 votes
2 answers
531 views

Checking the blockchain within Solidity contract

I want my contract to check a given range of blocks and see whether there are any transactions between a given pair of addresses. Is this possible to do in Solidity? Otherwise how would I do it?
l p's user avatar
  • 95
6 votes
1 answer
2k views

How run queries on the block chain?

since I am quite new to Eth I have the following question : there are some transactions made between two parties which are saved in the block chain. On window.onload() prior to rendering my components,...
Evgeni Pirianov's user avatar
5 votes
2 answers
4k views

How do I print my account balances and TheDAO tokens from geth

Is there a convenient script to print out my account balances and TheDAO tokens from the go-ethereum client geth?
BokkyPooBah's user avatar
  • 40.3k
5 votes
1 answer
5k views

Is there a way in web3 to get a transaction by address and nonce?

I know I can get the current nonce using eth.getTransactionCount(address), but I'm looking for something like eth.getTransaction(address, nonce) (for arbitrary nonce), similarly to eth....
mazi's user avatar
  • 443
5 votes
1 answer
3k views

Listing transactions in a private blockchain?

In a private blockchain, is it possible to list the transactions based on from and to parameters in a transaction. Is it possible to check the latest transaction from or to an address? Also, is it ...
galahad's user avatar
  • 3,930
5 votes
1 answer
10k views

Get block address through web3.eth.getBlock(1)

I'm getting a list of the last few blocks like described here. Now I can't seem to get the address of each block or the associated contract, through web3.eth.getBlock. A lot gets returned, but no ...
Cubedj's user avatar
  • 363

15 30 50 per page