Transfers funds from one wallet address to another, using a specified number of coins. Optional data can be sent to the receiver, as long as the data is formatted using Base58 formatting.
protected final void sendTransaction(String from, String to, double amount, byte... userData)
This event is triggered within the Smart Contract AFTER the Smart Contract "sendTransaction" method has finalized.
If an exception occurs within this event code, then the "sendTransaction" method fails and no Credits (CS) is transferred and no transaction fees are charged.