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

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

When downloading the blockchain my application is become unusable, is there an issue with my code or am I using the BitcoinJ library incorrectly?

Mistakenly sent BTC from my personal wallet back to one of the exchange wallet addresses that I had received BTC from before - help recovering!