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)

2
  • Move only transfer's balance from one account to another? Commented Jul 15, 2017 at 8:47
  • In the same wallet. Commented Jul 15, 2017 at 13:45

1 Answer 1

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.

3
  • The question asks if there is a move equivalent feature. Commented Jul 15, 2017 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. Commented Jul 15, 2017 at 19:21
  • Comments are not for extended discussion; this conversation has been moved to chat. Commented Jul 15, 2017 at 22:59

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.