Parameters
- txidstringREQUIRED
The transaction id
Returns
- txidstring
The transaction id
- hashstring
The transaction hash
- versioninteger
The transaction version
- sizeinteger
The size of the transaction in bytes
- vsizeinteger
The virtual size of the transaction in bytes
- weightinteger
The weight of the transaction
- locktimeinteger
The locktime of the transaction
- vinarray
An array of transaction objects used as inputs for the current transaction
- ismwebboolean
Boolean value indicating if this is a mweb transaction
- coinbasestring
The coinbase field for the input (only present for coinbase transactions)
- txinwitnessarray
Array of witness data (for segwit transactions)
- sequenceinteger
The sequence number for the input
- txidstring
The transaction id (only present for non-coinbase inputs)
- voutinteger
The output index (only present for non-coinbase inputs)
- voutarray
An array of output transaction objects for the current transaction
- ismwebboolean
Boolean value indicating if this is a mweb transaction
- valuenumber
The value of this output in LTC
- ninteger
The output index
- scriptPubKeyobject
The script public key data
- asmstring
The asm representation of the script
- hexstring
The hex representation of the script
- reqSigsinteger
The required signatures (may not be present for all script types)
- typestring
The type of the script
- addressesarray
Array of addresses associated with this output (may not be present for all script types)
- hexstring
The raw hexadecimal representation of the transaction
- blockhashstring
The hash of the block at which the transaction was included
- confirmationsinteger
The number of confirmations since this transaction was included in a block
- timeinteger
The unix timestamp of when the transaction was included in a block
- blocktimeinteger
The unix timestamp of when the block was confirmed