I have a small problem. I can not calculate the commission in any way.
$litecoin = new jsonRPCClient('http://user:email@example.com:9332/');
print_r($litecoin ->sendfrom('account', 'toaddress', '0.005')); echo "\n";
Please help, how to calculate the commission before shipment, the second day I can not solve this problem.