Bitcoin Forum
May 08, 2024, 04:14:50 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: JSON_RPC API - Move method  (Read 122 times)
yuji72 (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 13, 2018, 12:34:56 PM
 #1

Hi experts,

I am trying to build a website and manage the bitcoin wallet using JSON_RPC API. And I have some problem to call Move method
From the link below
https://blockchain.info/el/api/json_rpc_api

>>>>>>>>>>>>>
Method: move
Parameters: (String fromAccount, String toAccount, long amount)
Description: Move funds from one account in your wallet to another.
Returns: String
Second Password Required
>>>>>>>>>>>>>


How can I set the second password?

Thanks,
1715141690
Hero Member
*
Offline Offline

Posts: 1715141690

View Profile Personal Message (Offline)

Ignore
1715141690
Reply with quote  #2

1715141690
Report to moderator
1715141690
Hero Member
*
Offline Offline

Posts: 1715141690

View Profile Personal Message (Offline)

Ignore
1715141690
Reply with quote  #2

1715141690
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
May 13, 2018, 12:56:53 PM
 #2

May i ask why you are using blockchain.info?
Why don't you just use bitcoind (which gives you full control) ? Especially when running a service, i wouldn't recommend blockchain.info at all..



How can I set the second password?

This 'feature' is called 'Double encryption' and can be found on the My wallet account details page.
Make sure to call walletpassphrase(password, timeout) with your password and a timeout in seconds before calling other commands.

This information is included in the link you have posted. Read the 'Security' paragraph..




hushan
Member
**
Offline Offline

Activity: 61
Merit: 15


View Profile
May 13, 2018, 01:24:34 PM
 #3

As the documentation suggests, if double encryption is enabled, there are two passwords, the first one is the rpcpassword you pass in when calling the rpc, pass it as the command line argument to "-rpcpassword", and the second password is your set with "walletpassphrase" api call. That means before calling any api that requires second password, call "walletpassphrase <password> <timeout in seconds>" to unlock the wallet.

BTC: 38ykUxZeSv5aqav1keCc4KUxXLPPGkfrm5 LTC: MPpWNvqDCVB1PHJt4A28j9oFfc6Y1KKDno ETH: 0x07C8c68d5253247038947EF9495b054160c8737c
yuji72 (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 13, 2018, 01:43:25 PM
 #4

Thanks for both of you!
Really appreciate it!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!