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 Core errors with database block

Bitfinex & Market Synergy To Offer Institutional Calibre Cryptocurrency Connectivity