public final class LitecoinPriceObject
extends java.lang.Object
https://timboudreau.com/blog/json/read https://api.coinmarketcap.com/v2/ticker/2/ caution must be
USD (not uSD so must change USD to USd and uSD to USD)
Input(java.lang.String prev_hash,
long output_index,
java.lang.String script,
long output_value,
long sequence,
java.lang.String[] addresses,
java.lang.String script_type,
long age)
public Input(java.lang.String prev_hash,
long output_index,
java.lang.String script,
long output_value,
long sequence,
java.lang.String[] addresses,
java.lang.String script_type,
long age)
public Transaction(java.lang.String transactionID,
java.lang.String merchantWalletID,
java.lang.String unitsOfRequestedPayment)
Create a LiteCoin Transaction Object. This object will provide access to transaction
parameters, which will be used to validate the license. The lto provides the transaction value
in Satoshis, which are converted to Bitcoin by dividing by 1e8. a transaction:
https://api.blockcypher.com/v1/ltc/main/txs/9e9c462b755defda988e9950b9797cecd055a017d32d9c6feff89ebdea5fe3cd
my wallet: LMGaFd8tmxJSDbo3GLZFJaPd1kNJ9r1v48
Method Detail
getNumberOfConfirmations
public long getNumberOfConfirmations()
getDoubleSpend
public boolean getDoubleSpend()
getTransactionDate
public java.time.LocalDate getTransactionDate()
getPaymentInSatoshis
public long getPaymentInSatoshis()
getDeltaTime
public long getDeltaTime()
Time in hours between now and transaction execution
TransactionObject(long block_height,
long block_index,
java.lang.String hash,
java.lang.String[] addresses,
long total,
long fees,
long size,
java.lang.String preference,
java.lang.String relayed_by,
java.lang.String received,
long ver,
boolean double_spend,
long vin_sz,
long vout_sz,
long confirmations,
TransactionObject.Input[] inputs,
TransactionObject.Output[] outputs)
public TransactionObject(long block_height,
long block_index,
java.lang.String hash,
java.lang.String[] addresses,
long total,
long fees,
long size,
java.lang.String preference,
java.lang.String relayed_by,
java.lang.String received,
long ver,
boolean double_spend,
long vin_sz,
long vout_sz,
long confirmations,
TransactionObject.Input[] inputs,
TransactionObject.Output[] outputs)