I'm trying to send Ether using geth 1.3.5, like this:

eth.sendTransaction({from:eth.accounts[0], to:'0x[ADDRESS_HERE]', value: web3.toWei(5, "ether"), gas:21000});

And I'm getting "Exceeds block gas limit"

When I try:

with gas=5000 I get "Intrinsic gas too low"

Executing eth.getBlock("latest").gasLimit yields 5000.

Any ideas how to execute a transaction? I synced the blockchain using --fast. Any help appreciated!


21,000 gas is the minimum for sending a transaction. If you are sending ether to a contract which has a fallback function then that function will require extra gas to run. Since unspent gas is refunded automatically, change your code to something like the following with a higher gas value.

eth.sendTransaction({from:eth.accounts[0], to:'0x[ADDRESS_HERE]', value: web3.toWei(5, "ether"), gas:100000});

  • 1
    Thanks. It ended up working when I set it to 40,000 (before seeing this). Any idea why this doesn't just work automagically? – Dan Sandberg Mar 5 '16 at 21:30

sendTransaction requires min gas = 21000 + [some extra ether as mentioned by Piper]

Also make sure the genesis.json does not limit the gas limit. In my case it was 0x1388 (5000 in Decimal). I changed it to 0xC350 (50000 in decimal) and it worked!!


  1. check current block gas limit by running - eth.getBlock("latest"). If you supply more gas than this value, you will face 'Exceeds block gas limit' error

  2. Then check gas value in sendTransaction(). It should be atleast 21000. If it isn't, you will get 'intrinsic value too low'

err:  Error: Returned error: exceeds block gas limit

This is also returned when running (trying to run) a full node and it is not in sync with the network yet.


I get this error when my gas limit was within valid range but was not an integer, rather a float. I had been multiplying it by a ratio that left it with something like 28322.38400000003 and that caused this error. Simply truncating with floor function solved.

protected by Waqar Lim Mar 28 '17 at 18:00

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.