Files
brk/modules/brk-client/docs/interfaces/Transaction.md
2026-04-23 23:19:11 +02:00

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:1036](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1036)
## Properties
### fee
> **fee**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1046](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1046)
Transaction fee in satoshis
***
### index?
> `optional` **index?**: `number` \| `null`
Defined in: [Developer/brk/modules/brk-client/index.js:1037](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1037)
Internal transaction index (brk-specific, not in mempool.space)
***
### locktime
> **locktime**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1040](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1040)
Transaction lock time
***
### sigops
> **sigops**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1045](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1045)
Number of signature operations
***
### size
> **size**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1043](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1043)
Transaction size in bytes
***
### status
> **status**: [`TxStatus`](TxStatus.md)
Defined in: [Developer/brk/modules/brk-client/index.js:1047](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1047)
Confirmation status (confirmed, block height/hash/time)
***
### txid
> **txid**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:1038](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1038)
Transaction ID
***
### version
> **version**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1039](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1039)
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:1041](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1041)
Transaction inputs
***
### vout
> **vout**: [`TxOut`](TxOut.md)[]
Defined in: [Developer/brk/modules/brk-client/index.js:1042](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1042)
Transaction outputs
***
### weight
> **weight**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1044](https://github.com/bitcoinresearchkit/brk/blob/e4496742a4964a986078f3a65d3bfdc1e47a5eba/modules/brk-client/index.js#L1044)
Transaction weight