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

New z-enemy 1.26 Nvidia GPU Miner With Improved Performance

New coin daemon crashes ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)

How do I calculate the witness commitment hash for a given block?