How to split the funds and send X% to fee wallet and the remaining funds to another wallet?
Problem solved using "sendmany":

&lt;?php
#SENDMANY WORKING
require("easybitcoin.php");
$bitcoin = new Bitcoin("root", "000000", "localhost", "18332");

$account = "pizza";

$arrayRec = array("2MsWztzmaxnsU3xetrKsD4E9ep4r2gYtXj9" =&gt; "0.00111", 
                "2Mt7dkQiyExrNQTXu9D3qoCpWg3J5TJy9Up" =&gt; "0.00222" );

$send = $bitcoin-&gt;sendmany($account, $arrayRec);

print_r($send);

?&gt;