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

Tor proxy on Electrum, what does Port: 9150 and 9050 mean?

How to discover startup flags or command-line options for bitcoind?

Can we see Blockchain decentralized data like a mathematical duality or morphisms between representations?