Skip to content

Commit ae4da15

Browse files
davidkaplanbitgollm-git
andcommitted
feat(sdk-core): add psbt-lite as a transaction format option
Add 'psbt-lite' as a valid option for txFormat in PrebuildTransactionOptions interface. Issue: BTC-2272 Co-authored-by: llm-git <[email protected]>
1 parent 44230b3 commit ae4da15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/sdk-core/src/bitgo/wallet/iWallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export interface PrebuildTransactionOptions {
167167
* This comment applies to UTXO coins. It's asking which transaction format to use:
168168
* the legacy format defined by bitcoinjs-lib, or the 'psbt' format, which follows the BIP-174.
169169
*/
170-
txFormat?: 'legacy' | 'psbt';
170+
txFormat?: 'legacy' | 'psbt' | 'psbt-lite';
171171
/**
172172
* Custom Solana instructions to include in the transaction.
173173
* Each instruction contains a program ID, accounts array, and data buffer.

0 commit comments

Comments
 (0)