replace sendCoins to sendTx