Skip to content
docs

BtcTxDescription

Defined in: wallet-btc/src/types.ts:156

“What you sign”: the fully resolved transaction before (or after) signing.

amount: bigint

Defined in: wallet-btc/src/types.ts:161

Sats sent to non-change outputs.


fee: bigint

Defined in: wallet-btc/src/types.ts:162


feeRate: number

Defined in: wallet-btc/src/types.ts:164

sat/vB, rounded to 2 decimals.


inputs: BtcTxInputDescription[]

Defined in: wallet-btc/src/types.ts:158


kind: "btc-transfer"

Defined in: wallet-btc/src/types.ts:157


lockTime: number

Defined in: wallet-btc/src/types.ts:167


outputs: BtcTxOutputDescription[]

Defined in: wallet-btc/src/types.ts:159


rbf: boolean

Defined in: wallet-btc/src/types.ts:166


optional txid?: string

Defined in: wallet-btc/src/types.ts:169

Present once the transaction is signed.


vsize: number

Defined in: wallet-btc/src/types.ts:165


warnings: BtcWarning[]

Defined in: wallet-btc/src/types.ts:170