예제 #1
0
파일: Node.cs 프로젝트: Axaic/WavesCS
        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));
        }
예제 #2
0
        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));
        }
예제 #3
0
파일: Node.cs 프로젝트: Axaic/WavesCS
        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));
        }