Skip to content

feat(wasm-utxo): add BitGoPsbt.getUnsignedTransaction()#284

Merged
OttoAllmendinger merged 1 commit into
masterfrom
otto/add-get-unsigned-tx
May 26, 2026
Merged

feat(wasm-utxo): add BitGoPsbt.getUnsignedTransaction()#284
OttoAllmendinger merged 1 commit into
masterfrom
otto/add-get-unsigned-tx

Conversation

@OttoAllmendinger
Copy link
Copy Markdown
Contributor

@OttoAllmendinger OttoAllmendinger commented May 26, 2026

Adds get_unsigned_tx_bytes() to the BitGoPsbt Rust core, a #[wasm_bindgen]
get_unsigned_tx() wrapper in the wasm layer, and getUnsignedTransaction() in
the TypeScript BitGoPsbt class.

Unlike extractTransaction(), the new method does not require finalization or
partial signatures — it serializes the raw unsigned transaction embedded in
the PSBT global map, equivalent to utxo-lib's UtxoPsbt.getUnsignedTx().toBuffer().

Refs: T1-3435

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 26, 2026

T1-3435

Adds get_unsigned_tx_bytes() to the BitGoPsbt Rust core, a
#[wasm_bindgen] get_unsigned_tx() wrapper in the wasm layer, and
getUnsignedTransaction() in the TypeScript BitGoPsbt class.

Unlike extractTransaction(), the new method does not require
finalization or partial signatures — it serializes the raw unsigned
transaction embedded in the PSBT global map, equivalent to utxo-lib's
UtxoPsbt.getUnsignedTx().toBuffer().

Refs: T1-3435
@OttoAllmendinger OttoAllmendinger force-pushed the otto/add-get-unsigned-tx branch from 9fb45dc to 70b0954 Compare May 26, 2026 13:09
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review May 26, 2026 13:27
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner May 26, 2026 13:27
@OttoAllmendinger OttoAllmendinger merged commit fd615ad into master May 26, 2026
17 checks passed
@OttoAllmendinger OttoAllmendinger deleted the otto/add-get-unsigned-tx branch May 26, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants