public string Transfer(PrivateKeyAccount sender, string recipient, Asset asset, decimal amount, decimal fee, Asset feeAsset = null, byte[] message = null) { var tx = new TransferTransaction(ChainId, sender.PublicKey, recipient, asset, amount, fee, feeAsset, message); tx.Sign(sender); return(Broadcast(tx)); }
public string Transfer(PrivateKeyAccount sender, string recipient, Asset asset, decimal amount, string message = "") { var tx = new TransferTransaction(sender.PublicKey, recipient, asset, amount, message); tx.Sign(sender); return(Broadcast(tx)); }
public string Transfer(PrivateKeyAccount sender, string recipient, Asset asset, decimal amount, string message = "") { var fee = 0.001m + (asset.Script != null ? 0.004m : 0); var tx = new TransferTransaction(ChainId, sender.PublicKey, recipient, asset, amount, message); tx.Sign(sender); return(Broadcast(tx)); }