Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

Changes extractTransaction() to return a Transaction object instead of raw
bytes. The transaction object provides additional functionality like getId()
to get the transaction ID directly.

This is a breaking change as the return type changes from Uint8Array to a
Transaction object. Clients need to call toBytes() on the returned object
to get the raw bytes.

BTC-2978

Changes extractTransaction() to return a Transaction object instead of raw
bytes. The transaction object provides additional functionality like getId()
to get the transaction ID directly.

This is a breaking change as the return type changes from Uint8Array to a
Transaction object. Clients need to call toBytes() on the returned object
to get the raw bytes.

Issue: BTC-2978

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger force-pushed the BTC-2978.improve-extract-tx branch from b71267c to 947cd01 Compare February 2, 2026 14:18
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review February 2, 2026 14:29
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner February 2, 2026 14:29
@OttoAllmendinger OttoAllmendinger merged commit c2939ea into master Feb 2, 2026
6 checks passed
@OttoAllmendinger OttoAllmendinger deleted the BTC-2978.improve-extract-tx branch February 2, 2026 17:12
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.

3 participants