Linked Questions

0 votes
1 answer
218 views

How can I view with web3.js all the ETH transfers to an ethereum address? [duplicate]

How could I list with Web3.js all the ETH transactions to an address? Thank you
JTCon's user avatar
  • 703
36 votes
9 answers
95k 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
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
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
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
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,173
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
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,920
4 votes
2 answers
16k views

Getting transaction history for a particular account

I want to get the list of all the transactions which have been performed by/on an account in my private blockchain. I tried using the function getTransactionsByAccount(accountAddress, ...
Anchit Seth'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
4 votes
2 answers
7k views

How to query local Ethereum blockchain for a specified transaction?

I want to find specified transaction. How can I query my local Ethereum blockchain from the console?
gkucmierz's user avatar
  • 773
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
4 votes
2 answers
6k views

TheDAO internal transactions

I need to get transaction list within theDAO system. Is it possible or it's the same case of getting the internal transactions in Ethereum? I want to know if there is a mechanism within theDAO to get ...
Paul Exchange's user avatar
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
4 votes
1 answer
6k views

How to use miner.start(2) from javascript

Refering to "Common useful JavaScript snippets for geth" Got Following example to run miner from javascript: Mine only when there are transactions! var mining_threads = 1 function ...
Sushant's user avatar
  • 41
1 vote
1 answer
3k views

Mistake when using web3.eth.filter() and filter.get()

I went to the website https://etherscan.io/txs?block=4067373 and with that information choose the following address (third in line) to test on: 0x25f000254108a104A7127B5a5697cb3C12643e62 And the ...
Webeng's user avatar
  • 895
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,920
3 votes
1 answer
4k views

How fetch transaction history for account quickly using Web3j?

Intro We use Web3j java library to work with Ethereum network. I use Rinkeby test network wit Geth client at the moment. I got familiar with blockchains only a week ago, so terms I use can be ...
invenit's user avatar
  • 131
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
1 vote
1 answer
4k views

web3.eth.filter({fromBlock:0, toBlock: 'latest', address: account}) not working?

My goal here is to list all transaction from an given account, without any success yet. I wonder why I always have an empty result when I'm using this web3.eth.filter. I know there is a valid ...
FrenchieiSverige's user avatar
3 votes
1 answer
6k views

Get all transactions from blocks in a range of blocknumbers web3

have seen similar post before, but can seam to get anything working. I am trying to pull block data (mostly all transactions) from a range of blocks (startBlock-endBlock) but keep getting errors or ...
DataDope's user avatar
5 votes
3 answers
1k views

Ether balance suddenly went to 0 and address not found on ether chain please help

My address is 0x9ac0e6b745bbd98eec2d900d5ee8144157d7fc1e and I had ether in it but it suddenly went down to 0 I have also never been able to find my address on ether chain.
Moulie415's user avatar
  • 153
0 votes
1 answer
3k views

Iterating over transactions in a private blockchain using web3.js [duplicate]

This question is similar to this one. I'm trying to iterate through all transactions in a private block chain and look for specific data sent in the 'data' fields of each transactions. Is the ...
Sebi's user avatar
  • 5,284
3 votes
4 answers
838 views

How to view my contract's .send(value) activity?

I have my contract address = "0x70094cae9a74c9ae08aa2ae643bcfdd9fa9edfee" My contract pay back ether to some account: msg.sender.send( amountToGain ) For example msg.sender should gain amountToGain ...
alper's user avatar
  • 8,395
3 votes
2 answers
2k views

Is there a tool to list all the internal transactions in a block?

I don't think this is possible with the standard JSON-RPC API, but I'd like to get a list of all the internal transactions in a block. By internal transactions I mean transactions initiated by a ...
Steve Ellis's user avatar
  • 1,357
2 votes
1 answer
4k views

web3.eth.filter({ fromBlock:1, toBlock: "latest" }).get() not working

web3.eth.filter({ fromBlock:1, toBlock: "latest" }).get() is not working on my geth console. I downgraded my geth from 1.5.9 to 1.3.5 to resolve this but it's still not working. Strange thing is that ...
Aniket's user avatar
  • 3,545
2 votes
1 answer
1k views

Asynchronously querying the block chain

This question is related to this one or this one. There is a tutorial here that shows some filtering examples but it doesn't get into transaction level granularity. Can we query the block chain by ...
Sebi's user avatar
  • 5,284
2 votes
1 answer
3k views

Listening for Deposits and Transaction Confirmations Web3js

I'm building a webapp using nodejs and web3js. I have a simple use-case: I provide the user with an address to which he should deposit funds. I want to then listen on my nodejs server for: when the ...
mankee's user avatar
  • 263
0 votes
2 answers
3k views

web3 detect/listen to events if someone send ether to addresses

I need to constantly keep running some code to detect if someone has in the past minute sent some ether/token to a lot of addresses, is there better way to do than https://ethereum.stackexchange.com/a/...
Tom Dawn's user avatar
  • 125
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
3 votes
2 answers
1k views

Is there an api to get list of transactions from non forked blockchain / classic Ethereum

Now that the hard fork is complete, there are two blockchains - the forked one for ETH (at 1920000) and the original is for the ETC. The etherscan.io provide an api to get list of transactions for ...
devsubhro's user avatar
1 vote
2 answers
1k views

How to detect the balance change in solidity

In contract, there are always some storage change like token transfer. I want to detect the token transfer event. Token always store in contract mapping struct. So how can i detect the mapping change ...
rong jialei's user avatar
2 votes
1 answer
2k views

List all transactions for a block

Within a program, I would like to process a list of all normal transactions for an Ethereum block. Specifically for each transaction in the block the transferred ETH value, sender address and receiver ...
Freude's user avatar
  • 131
5 votes
3 answers
320 views

How to determine wether Ether was mined or received?

Is there a way to distinguish or calculate the total amount of ether which any account has received from mining and from the transfers (I mean the amount of ether transferred from other accounts)?
Aman C's user avatar
  • 983
0 votes
1 answer
2k views

http: Accept error: accept tcp 127.0.0.1:8545: accept: too many open files; retrying in 5ms

I am running geth -rpc and node to directly interact with the blockchain. When executing a large amount of requests I noticed the following error: http: Accept error: accept tcp 127.0.0.1:8545: ...
Steve's user avatar
  • 346
3 votes
0 answers
2k views

web3 filter option not working

var filter = web3.eth.filter({fromBlock: 350000, toBlock: 'latest',address:"0x075da4ebae466b80d451b0627296d5d38b3e99c1"}); var myResults1 = filter.watch(function (error, log) { console.log(error);...
Veera Sarma's user avatar
2 votes
1 answer
1k views

Custom token display in case of geth testnet

From this, i found that To add a token to watch, go to the contracts page and then click "Watch Token". A pop-up will appear and you only need to paste the contract address. The token name, symbol and ...
Aniket's user avatar
  • 3,545
5 votes
1 answer
551 views

RPC API query does not retrieve transaction data

I am trying to retrieve blockchain transaction data on my node using JSON RPC API, but I get no result. For example this request : curl -X POST --data '{"jsonrpc":"2.0","method":"...
Jules's user avatar
  • 51
0 votes
1 answer
302 views

Find deployed contract address if you loose it

How do we find the address of a contract, if we loose the address that we deployed at?
shonjs's user avatar
  • 475
1 vote
1 answer
796 views

How to find transactions per minute

I am trying to find the number of transactions in the Ethereum network using web3. I couldn't find any web3 functions to get the same. I could see etherchain.org and some other network browsers have ...
Manoj P R's user avatar
  • 458
2 votes
1 answer
478 views

How to do searching in Ethereum's Ledge? (SQL)

Recently, I have a question about searching function in blockchain. Blockchain is a distributed database and as a database, there should be some searching functions such as "Select", "Join". I am ...
happy crazy's user avatar
1 vote
1 answer
752 views

How to query incoming transactions to an ethereum address via web3j?

i know this question has been asked many times in this forum, but none of them give clear cut answer to the questions. I tried the snippet mentioned in this answer: Common useful JavaScript snippets ...
Arvind's user avatar
  • 75
4 votes
1 answer
430 views

Get all transactions by recipient's address on a light client

I would like to continuously get the transactions sended to a specific address while using a light client. I underscore that I am talking about regular transactions, not the contract invocations. As ...
reardenlife's user avatar
2 votes
1 answer
302 views

Can I access my account using some http request?

I am accessing my accounts and everything using Ethereum Wallet (Mist) but I was wondering is there any possible way to access my account using some http request?
Prashant Prabhakar Singh's user avatar
1 vote
1 answer
248 views

transaction history

I am trying to get a list of which accounts sent ether to 1 specific account (or wallet contract), and how much they sent. Is there any function in web3 that can do this. I assume it would look ...
Webeng's user avatar
  • 895
3 votes
1 answer
210 views

pyethapp is unable to add transactions to blockchain

I'm using pyethapp and web3.js to make transactions on a private network. var to = "1152a50b91887591a2447b233105f392dbae72ce"; var from = "4dfd7cb92bca796821d5fc4512a6a02cc98d833d"; var json_data = {...
Sebi's user avatar
  • 5,284
0 votes
1 answer
194 views

Get lastest input transaction of the account

I am trying to get the recent IN transaction of the account while i try web3.eth.getTransactionCount("0xF092966e7bcc2b5646e0F0c20A715584DB37cd4B").then(function(trans){ console.log(trans); }); ...
Sammu Sundar's user avatar
2 votes
1 answer
159 views

Transactions for Smart Contract

What is the best way to get the list of all transactions which have happened for my smart-contract in a private setup?
Aman C's user avatar
  • 983

15 30 50 per page