EasyBitcoin RPC lockunspent... cannot get it to work

EasyBitcoin RPC lockunspent... cannot get it to work

Has anyone succeeded in using the EasyBitcoin.php RPC tools for locking transactions?

I have been trying with no avail to use that method.

here is what I have been trying to do;

$json = {
    "txid": "5a7d24cd665108c66b2d56146f244932edae4e2376b561b3d396d5ae017b9589",
    "vout": 0
  }
bitcoin->lockunspent(false,$json);

and I keep getting an error like; Expected type array, got string

Thanks in advance to anyone who can help me with this riddle.

https://ift.tt/2PKAH41

Comments

Popular posts from this blog

bitcoin node: what is the difference between simnet and regtest?

How to check if Electrum is masking my IP with the Tor proxy?

Need help to recover blpckchain.info wallet, my wife forgot her password and the brute force with btcrecover is not catching the password