Litecoin RPC Calculate the commission (PHP)

Litecoin RPC Calculate the commission (PHP)

I have a small problem. I can not calculate the commission in any way.

Implementation example:

$litecoin = new jsonRPCClient('http://user:password@127.0.0.1:9332/'); echo "<pre>\n"; print_r($litecoin ->sendfrom('account', 'toaddress', '0.005')); echo "\n"; echo "</pre>";

Please help, how to calculate the commission before shipment, the second day I can not solve this problem.

https://ift.tt/2JG82ta

Comments

Popular posts from this blog

Bitcoin Core errors with database block

sendrawtransaction and txn-mempool-conflict