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 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