Parameters
- txidstringREQUIRED
The transaction id
Returns
- txidstring
The transaction id
- versioninteger
The transaction version
- vinarray
An array of transaction objects used as inputs for the current transaction
- txidstring
The transaction id (only present for non-coinbase inputs)
- voutinteger
The output index (only present for non-coinbase inputs)
- sequenceinteger
The transaction sequence
- ninteger
The input index
- addressesarray
An array of addresses in this transaction (only present for non-coinbase inputs)
- isAddressboolean
Boolean value of whether there is an address or not
- valuestring
The value of this transaction in satoshis (litoshis) (only present for non-coinbase inputs)
- coinbasestring
The coinbase data (only present for coinbase inputs)
- voutarray
An array of output transaction objects for the current transaction
- valuestring
The value of this output in satoshis (litoshis)
- ninteger
The output index
- spentboolean
Boolean value of whether the output has been spent
- hexstring
The raw scriptPubKey hex
- addressesarray
An array of addresses in this output
- isAddressboolean
Boolean value of whether there is an address or not
- blockHashstring
The hash of the block at which the transaction was included
- blockHeightinteger
The block height at which the transaction was included
- confirmationsinteger
The number of confirmations since this transaction was included in a block
- blockTimeinteger
The unix timestamp of when the block was confirmed
- sizeinteger
The size of the transaction in bytes
- vsizeinteger
The virtual size of the transaction in bytes
- valuestring
The total output value of the transaction in satoshis (litoshis)
- valueInstring
The total input value of the transaction in satoshis (litoshis)
- feesstring
The fees for the transaction denominated in satoshis (litoshis)
- hexstring
The raw hexadecimal representation of the transaction