2

When I send ether from one of my accounts to the other a transaction is sent but after the confirmations there is still no ether transferred. I didn't get any obvious error messages

  • Did you check the blockNo by eth.getTransactionReceipt(txHash) and check if block number is not null to be sure that your transaction is mined? – Prashant Prabhakar Singh Mar 28 '17 at 14:53
  • @prashant-prabhakar-singh I just checked and it wasnt null – Joe Mar 28 '17 at 15:02
  • Have you provided enough gas? – Susmit Mar 28 '17 at 15:05
  • @Susmit I didnt change the gas number so maybe not im trying with increased gas at the moment – Joe Mar 28 '17 at 15:09
  • 1
    Is you blockchain up to date (synchronized)? – William Ross Mar 28 '17 at 18:59
1

Simply Sending ethers will not get transferred. It needs to be mined.

Please check whether you have started the miner.

If in case your miner is running validate eth.hashrate and eth.blockNumber in geth console. It should not be zero. If it comes zero then your miner is not having the computational power. To start mining minimum we need 4GB RAM.

Please check eth.pendingTransactions. If the transaction still in pending status, then it was not get mined.

If there is no transaction pending then you will get empty array like below.

> eth.pendingTransactions
[]
>

If your connecting and running in testnet, obviously it will take some time.

  • As per Joe, the blockNumber is not null, so definitely the transaction is mined and included in a block. – Prashant Prabhakar Singh Mar 29 '17 at 4:19
0

Since the blockNumber is not null, so your transaction is mined successfully. The only reason I could think of is your blockChain is not in sycn.
Suppose your transaction is included in blockNumber xxxx (you can check blockNumber of your transaction by eth.getTransactionReceipt("transactionHash"), then your account will not show updated balance until your blockchain downloads the xxxx blocks.
So wait until your node is fully synced. Your ethers will definitely appear after your node downloads the block in which your transaction is included.

eth.getTransactionReceipt("transactionHash") will return something like below.

> eth.getTransactionReceipt("0x6a66d2dbc1610e20405828fdbfbf7b028ec3ce5d20e3800267e0f99b70be1426")
{
  blockHash: "0x414049a38df383bfa0e71ad1b1618ff8d08b45ce16064c27aed205d905048e36",
  blockNumber: 10436,
  contractAddress: null,
  cumulativeGasUsed: 42000,
  from: "0x2de46430bc377ad5a1e4c2cdfea7baa1a6baf092",
  gasUsed: 21000,
  logs: [],
  logsBloom: "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
  root: "0xa6521114fe5c68ad252b163d7eac7415cd89c6259d8cdee47f681f14cefad6f0",
  to: "0xf74c6516c4f7c87c663f3aefce67d815fb1bf047",
  transactionHash: "0x6a66d2dbc1610e20405828fdbfbf7b028ec3ce5d20e3800267e0f99b70be1426",
  transactionIndex: 1
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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