1

Is there a Bitcoin "move" equivalent for Ethereum web3.eth ?

In Bitcoin:

move
<fromaccount> <toaccount> <amount> [minconf=1] [comment]
Move from one account in your wallet to another

(https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list)

  • Move only transfer's balance from one account to another? – Sanchit Jul 15 '17 at 8:47
  • In the same wallet. – Marc Alexander Jul 15 '17 at 13:45
1

For sending value from one account to another you can use, following web3.js API call -

web3.eth.sendTransaction({from:sender, to:receiver, value: amount})

Check this for more details on parameters available.

If you want to transfer the complete balance of one account to another then it's not directly possible.

However, there is a way which is already described in this answer - https://ethereum.stackexchange.com/a/5766/7790

Please take a look, hope this helps.

  • The question asks if there is a move equivalent feature. – Marc Alexander Jul 15 '17 at 19:20
  • 1
    I clearly mentioned its not directly possible which means there is no equivalent feature. Please read before down voting any answer. – Sanchit Jul 15 '17 at 19:21
  • Comments are not for extended discussion; this conversation has been moved to chat. – eth Jul 15 '17 at 22:59

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.