/// <summary> /// Initializes a new instance of the <see cref="GetTxResponseVout" /> class. /// </summary> /// <param name="value">Value of the output in NEBL.</param> /// <param name="n">Output index.</param> /// <param name="scriptPubKey">scriptPubKey.</param> /// <param name="used">Whether this output has now been used.</param> /// <param name="blockheight">Blockheight of this transaction.</param> /// <param name="usedBlockheight">Blockheight this output was used in.</param> /// <param name="usedTxid">TXID this output was used in.</param> public GetTxResponseVout(decimal?value = default(decimal?), decimal?n = default(decimal?), GetTransactionInfoResponsePreviousOutput scriptPubKey = default(GetTransactionInfoResponsePreviousOutput), bool?used = default(bool?), decimal?blockheight = default(decimal?), decimal?usedBlockheight = default(decimal?), string usedTxid = default(string)) { this.Value = value; this.N = n; this.ScriptPubKey = scriptPubKey; this.Used = used; this.Blockheight = blockheight; this.UsedBlockheight = usedBlockheight; this.UsedTxid = usedTxid; }
/// <summary> /// Initializes a new instance of the <see cref="GetTransactionInfoResponseVin" /> class. /// </summary> /// <param name="txid">TXID of the input.</param> /// <param name="vout">output index.</param> /// <param name="scriptSig">scriptSig.</param> /// <param name="sequence">sequence.</param> /// <param name="previousOutput">previousOutput.</param> /// <param name="tokens">tokens.</param> /// <param name="value">Value of input in NEBL satoshi.</param> public GetTransactionInfoResponseVin(string txid = default(string), decimal?vout = default(decimal?), GetTransactionInfoResponseScriptSig scriptSig = default(GetTransactionInfoResponseScriptSig), decimal?sequence = default(decimal?), GetTransactionInfoResponsePreviousOutput previousOutput = default(GetTransactionInfoResponsePreviousOutput), List <GetTransactionInfoResponseTokens> tokens = default(List <GetTransactionInfoResponseTokens>), decimal?value = default(decimal?)) { this.Txid = txid; this.Vout = vout; this.ScriptSig = scriptSig; this.Sequence = sequence; this.PreviousOutput = previousOutput; this.Tokens = tokens; this.Value = value; }