mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-19 22:34:46 -07:00
120 lines
3.2 KiB
Markdown
120 lines
3.2 KiB
Markdown
[**brk-client**](../README.md)
|
|
|
|
***
|
|
|
|
[brk-client](../globals.md) / Transaction
|
|
|
|
# Interface: Transaction
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1147](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1147)
|
|
|
|
## Properties
|
|
|
|
### fee
|
|
|
|
> **fee**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1157](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1157)
|
|
|
|
Transaction fee in satoshis
|
|
|
|
***
|
|
|
|
### index?
|
|
|
|
> `optional` **index?**: `number` \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1148](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1148)
|
|
|
|
Internal transaction index (brk-specific, not in mempool.space)
|
|
|
|
***
|
|
|
|
### locktime
|
|
|
|
> **locktime**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1151](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1151)
|
|
|
|
Transaction lock time
|
|
|
|
***
|
|
|
|
### sigops
|
|
|
|
> **sigops**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1156](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1156)
|
|
|
|
Number of signature operations
|
|
|
|
***
|
|
|
|
### size
|
|
|
|
> **size**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1154](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1154)
|
|
|
|
Transaction size in bytes
|
|
|
|
***
|
|
|
|
### status
|
|
|
|
> **status**: [`TxStatus`](TxStatus.md)
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1158](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1158)
|
|
|
|
Confirmation status (confirmed, block height/hash/time)
|
|
|
|
***
|
|
|
|
### txid
|
|
|
|
> **txid**: `string`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1149](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1149)
|
|
|
|
Transaction ID
|
|
|
|
***
|
|
|
|
### version
|
|
|
|
> **version**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1150](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1150)
|
|
|
|
Transaction version (raw i32 from Bitcoin protocol, may contain non-standard values in coinbase txs)
|
|
|
|
***
|
|
|
|
### vin
|
|
|
|
> **vin**: [`TxIn`](TxIn.md)[]
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1152](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1152)
|
|
|
|
Transaction inputs
|
|
|
|
***
|
|
|
|
### vout
|
|
|
|
> **vout**: [`TxOut`](TxOut.md)[]
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1153](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1153)
|
|
|
|
Transaction outputs
|
|
|
|
***
|
|
|
|
### weight
|
|
|
|
> **weight**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1155](https://github.com/bitcoinresearchkit/brk/blob/25b226856307047c5c10a075ec57219ca9987c38/modules/brk-client/index.js#L1155)
|
|
|
|
Transaction weight
|