Options
All
  • Public
  • Public/Protected
  • All
Menu
export
interface

BtcTx

Hierarchy

  • BtcTx

Index

Properties

block

block: string

Hash of the block this transaction belongs to.

memberof

BtcTx

fee

fee: number

Fee paid for this transaction, in satoshis.

memberof

BtcTx

hash

hash: string

Transaction hash.

memberof

BtcTx

height

height: number

Height of the block this transaction belongs to.

memberof

BtcTx

index

index: number

Index of the transaction in the block.

memberof

BtcTx

Optional inputs

inputs: BtcTxInputs[]
memberof

BtcTx

locktime

locktime: number

Block this transaction was included in.

memberof

BtcTx

mtime

mtime: number
memberof

BtcTx

Optional outputs

outputs: BtcTxOutputs[]
memberof

BtcTx

rate

rate: number
memberof

BtcTx

time

time: number

Time of the transaction.

memberof

BtcTx

version

version: number

Index of the transaction.

memberof

BtcTx

Optional vin

vin: { txid: string; vout: number }[]

Optional vout

vout: { n: number; scriptPubKey: { addresses: string[] }; value: number }[]

witnessHash

witnessHash: string

Witness hash in case of a SegWit transaction.

memberof

BtcTx

Generated using TypeDoc