Skip to main content

All Questions

Filter by
Sorted by
Tagged with
15 votes
2 answers
6k views

How to conditionally send ethers to another account post-hard-fork to protect yourself from replay attacks

The DAO contract was attacked on 17th June 2016 where the attacker drained about USD 50 million worth of ethers using a recursive call vulnerability in The DAO contract code. The attacker drained ...
BokkyPooBah's user avatar
  • 40.4k
38 votes
5 answers
35k views

How to explore all transactions for a given account?

After beeing able to check account balances, I am looking for a method to list all transactions for a given Ethereum account through json-rpc protocol. I haven't found any method suitable for that on ...
Juan Ignacio Pérez Sacristán's user avatar
18 votes
4 answers
9k views

How to schedule a transaction?

Anyone can guide me on how to schedule a transaction to be sent once a specific block number is mined? Thanks
Youssef's user avatar
  • 283
14 votes
1 answer
3k views

Why do some blocks contain no transactions?

While poking through my Geth logs I noticed that block 1,000,006 doesn't actually contain any transactions. Why is that?
Richard Horrocks's user avatar
37 votes
8 answers
78k views

Insufficient funds for gas * price + value

Sending Address has over 1 Eth in current Balance. Using the Geth console, I can send many transactions of any amount less than .033 eth.sendTransaction({to:'...
John Heeter's user avatar
9 votes
4 answers
6k views

Optimal way of waiting for transactions to be mined in geth

I'm currently checking if a transaction has been mined using the following function (using web3.js): function waitForTx(tx_hash) { var result = null; // This is not really efficient ...
Sebi's user avatar
  • 5,284
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
2 votes
2 answers
3k views

Can anybody Point out the Difference between Web3.eth.sendTransaction and web3.eth.signTransaction?

Do we need to sign the transaction by web3.eth.signTransaction after initiating transaction via web3.eth.sendTransaction. for example: when I do: web3.eth.sendTransaction({ from: accs[0], ...
MYANZIK shrestha's user avatar
19 votes
2 answers
16k views

Geth - How to clear queued transactions?

When typing txpool on Geth I get: { status: { pending: 15, queued: 714 }, getStatus: function() } I don't even know why there are 714 queued transactions when there should be none. I ...
Opossum's user avatar
  • 388
15 votes
3 answers
17k views

Invalid sender error on private chain

I created a transaction in Go, signed it with a EIP155Signer signer, but when I try to publish the transaction through the Go client to the private blockchain, I get the error Invalid sender. Any idea ...
thanos's user avatar
  • 854
8 votes
2 answers
3k views

What happens to transactions in orphaned/forked blocks?

From my investigation and reading a lot about this, it seems like the transaction is just removed and the ether returns back to some address. With Bitcoin, orphaned blocks are initially accepted by ...
DeV1doR's user avatar
  • 637
7 votes
3 answers
26k views

Sent ether from wallet to bittrex, 12 hours later no balance on bittrex [closed]

So I made an account on bittrex and I created a hex address so I could transfer over my ether, I went into my wallet and sent 0.1 ether to bittrex, 12 hours later my bittrex account still shows a 0 ...
Toastslave's user avatar
6 votes
2 answers
3k views

Difference between ERC 20 and ERC 721 transaction receipt

I want to fetch certain transaction logs from a local ethereum node. For that, I need to identify how to differentiate between ERC 20 and ERC 721 transaction receipts. From what I saw on Etherscan, i ...
mzaidi's user avatar
  • 1,012
3 votes
1 answer
2k views

How does (current block number - block number of a given transaction) gives the confirmation count?

I found a discussion here How do I get the number of confirmations on a transaction in geth or any other tool? that give the solution as: web3.eth.blockNumber-web3.eth.getTransaction(<txhash>)....
devsubhro's user avatar
2 votes
2 answers
381 views

The virus in my wallet

The virus in my wallet, when I transfer eth,my wallet will be emptied and the eth will be transferred to an unknown address. I want to know if geth is running correctly, and I don't know what it is "...
ali's user avatar
  • 103
1 vote
1 answer
1k views

How to scan ether transfer from smart contract to my addresses programmatically?

Correct me if I am wrong, the transaction receipt contains only the log of contract events. So we can only use it to examine the internal transaction that produces a event. How about ether transfer ...
Calvin Lau's user avatar
0 votes
1 answer
273 views

Ethereum Transaction for ERC20

If I want to airdrop the token to 10,000 addresses can we do it all under 1 transaction rather than 10,000 separate transactions all incurring separate fees. Thanks Amit M
Amit Modi's user avatar
  • 321
10 votes
2 answers
4k views

How to resend a transaction not recognized by the network?

I've sent a simple transaction (no smart contract invocation) while my geth node had no peers attached. It created the transaction fine and returned a transaction identifier. Even with many nodes ...
q9f's user avatar
  • 33k
8 votes
1 answer
309 views

What does TheDAO counter-attack by spamming actually do? (suggested by Stephan Tual)

TheDAO is currently under attack and a counter-attack by spam has been suggested by Stephan Tual https://blog.slock.it/dao-security-advisory-live-updates-2a0a42a2d07b#.r3wg8cxlw What does this code ...
SCBuergel's user avatar
  • 8,784
8 votes
3 answers
1k views

Is it possible to get contract messages from Geth?

When I use the etherchain.org API to get all the transactions in a block, it also returns contract messages. For example for block 911516, this call returns 7 transactions: https://etherchain.org/...
antianticamper's user avatar
8 votes
1 answer
2k views

sendRawTransaction results in queued TXs

I attempted to send raw TXs via eth.sendRawTransaction API but get stuck. I'm using EthereumJS to generate and sign TXs, and indeed, I can submit TXs through eth.sendRawTransactin, but the TXs always ...
qweruiop's user avatar
  • 251
7 votes
1 answer
974 views

Why am i getting "removed tx from pool: low tx nonce or out of funds"?

The account I am using to submit the transaction has 10490 ETH (1.0585e+22 Wei). The transaction cost is 20477 Gas, and gas price is 300000000000. Here is the output from Geth: I0330 22:28:05.762119 ...
Clovis's user avatar
  • 881
6 votes
0 answers
239 views

Kademlia: How does Ethereum uses node discovery protocol to avoid sybil/eclipse attacks?

I want to describe a case that's not clear to me. let's say we have 10 peer validator nodes who reach consensus and agree to store some blocks on their chain. Let's say now that a wallet wants to sync ...
Panagiotis Drakatos's user avatar
6 votes
2 answers
6k views

Transaction receipt has contractAddress as null

I see that my transaction is mined. I am trying to store some data into a struct. The mining is successful, however, in the transaction receipt i see that the contract address is null. Is that an ...
user3525552's user avatar
6 votes
2 answers
1k views

Why are these transactions not broadcast in my private network?

There are 3 nodes in my development environment. I use eth.sendTransaction to post some transactions ,and it seems that the transactions are not broadcast to other nodes. JSON-RPC Request is : {"...
Panda's user avatar
  • 153
5 votes
2 answers
905 views

return (bytes32,bytes32) , returns actual transaction address instead of the real data

I have attached my contract, which works fine on populus and compiles on geth. It is a simple source code: Test() function appends data into my linkedlist that is defined in my library. And get() ...
alper's user avatar
  • 8,404
4 votes
1 answer
5k views

What does the extraData field of a block represent?

I am trying to save some data into a block. The extraData field has a constant value since block 1. Also where does the data parameter of sendTransaction() function get stored?
anonymous's user avatar
  • 351
4 votes
1 answer
4k views

How to send transactions to a private network?

I have set up a private blockchain on a local network. I have a node running on an Android smartphone and another on Windows 7, I use Geth on both. I send Ether with the method eth.sendTransaction() ...
guillv's user avatar
  • 68
3 votes
3 answers
4k views

How to make transaction using private key and address using web3j

I have a private key and address . Is it possible to make transaction with these parameter using web3j.
Ajit Soman's user avatar
3 votes
1 answer
5k views

Get history of transactions to specific account [duplicate]

I am using web3.js and geth to do my coding. I have an Ether Account (Not a Wallet Contract) that will be receiving funds from clients. The clients will be writing a number in the DATA field (that you ...
Webeng's user avatar
  • 915
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
3 votes
1 answer
2k views

How can I receive ETH at Mist sent from other wallet

I want to receive ETH in my Mist account to test ETH transfer. But it doesn't work well so far. I tried to send ETH to my Mist account from other bitcoin and ETH transfer service. but I cannot receive ...
Kaoru Masuyama's user avatar
2 votes
0 answers
341 views

Add new field 'message' for sending text message to specific address

I have created a private net following https://omarmetwally.blog/2017/07/25/how-to-create-a-private-ethereum-network/ holding 4 peers. I run Ethereum Block Explorer ( https://github.com/etherparty/...
anu's user avatar
  • 21
2 votes
3 answers
508 views

Why is my transaction not performing?

I wrote the following script to send Ether. I can't figure out why the balance is still the same after I send out the Ether. I re run this script multiple times but nothing changes with the balance. ...
TSR's user avatar
  • 121
2 votes
1 answer
72 views

Purchase real Ether and add to base/default account

I created an Ethereum Consortium Leader instance on Microsoft Azure and they provided us with an Admin site and RPC endpoint: http://someName.eastus.cloudapp.azure.com/ http://someName.eastus....
Vivek Sadh's user avatar
2 votes
1 answer
234 views

How can I use Internet to carry out transactions that I do from geth console?

I have read RPC communications from Internet can be forwarded to geth console. But I have no hint on How? How can I use rpc port to carry out transactions over Internet that I performed using geth ...
Prashant Prabhakar Singh's user avatar
2 votes
1 answer
718 views

How to setup the account manager type to sign transactions in Go?

TL;DR: I've setup a private Ethereum node, and I want to send a signed transaction to it. By reading the docs I know that there's an account Manager type which can access a Wallet type which has a ...
thanos's user avatar
  • 854
1 vote
1 answer
2k views

code -32000 message: account is locked

I am trying to withdraw some coins from my wallet (as I have done several times prior) but this time I am prompted with the error: {0x0000000000000000000000000000000000000000", value: web3.toWei(1, "...
chester's user avatar
  • 19
1 vote
1 answer
529 views

eth_getLogs was only return erc20 tokens

i have used below command to get every logs on the special blocks but its only return erc20 token logs and ethereum transactions was not listed. my geth command: curl --data '{"method":"eth_getLogs",...
Farhad Jafari's user avatar
0 votes
1 answer
1k views

How to retrieve transactions' info such as gaslimit and gasprice from Etherscan?

This link shows the latest 500k transactions, and by clicking each one it opens a page with its info including gaslimit, gasprice, usedgas etc. https://etherscan.io/txs How can i retrieve the ...
MWH's user avatar
  • 363
0 votes
1 answer
137 views

Can manage node in my ethereum private network

I have created ethereum private network. there are two node got connected with in this network. both are mining. I have created small contract for transaction. All transaction is happening through my ...
Balakrishnan's user avatar
0 votes
1 answer
2k views

geth node not seeing pending transactions

I'm running a geth node locally on goerli network in sync mode. I use the following command to boot the node : geth --goerli --syncmode "light" My txpool never list pending transactions, ...
LostInEthWorld's user avatar
0 votes
2 answers
197 views

Is it possible to call a function of smart contract "without" installing "Geth" or "Parity"?

Is it possible to call a function of smart contract to send a transaction (for example, writing on the Ethereum blockchain) but "without" installing "Geth" or "Parity" clients? In a more general ...
Questioner's user avatar
  • 2,700