public TransferTransaction(char chainId, byte[] senderPublicKey, string recipient, Asset asset, decimal amount, decimal fee = 0.001m, byte[] attachment = null) : this(chainId, senderPublicKey, recipient, asset, amount, fee, Assets.WAVES, attachment) { }
public TransferTransaction(char chainId, byte[] senderPublicKey, string recipient, Asset asset, decimal amount, string attachment) : this(chainId, senderPublicKey, recipient, asset, amount, 0.001m, Encoding.UTF8.GetBytes(attachment)) { }
public MassTransferTransaction(char chainId, byte[] senderPublicKey, Asset asset, IEnumerable<MassTransferItem> transfers, string attachment, decimal? fee = null) : this(chainId, senderPublicKey, asset, transfers, Encoding.UTF8.GetBytes(attachment), fee) { }
public InvokeScriptTransaction(char chainId, byte[] senderPublicKey, string dappAddress, Dictionary <Asset, decimal> payment, decimal fee, Asset feeAsset) : base(chainId, senderPublicKey) { DappAddress = dappAddress; Payment = payment ?? new Dictionary <Asset, decimal>(); Fee = fee; FeeAsset = feeAsset ?? Assets.WAVES; FunctionHeader = null; FunctionCallArguments = new List <object>(); }
public string InvokeScript(PrivateKeyAccount caller, string dappAddress, Dictionary <Asset, decimal> payment, decimal fee = 0.005m, Asset feeAsset = null) { var tx = new InvokeScriptTransaction(ChainId, caller.PublicKey, dappAddress, payment, fee, feeAsset); tx.Sign(caller); return(Broadcast(tx)); }
public BurnTransaction(char chainId, byte[] senderPublicKey, Asset asset, decimal quantity, decimal fee = 0.001m) : base(chainId, senderPublicKey) { Asset = asset; Quantity = quantity; Fee = fee; }