File tree 2 files changed +8
-0
lines changed
modules/sdk-core/src/bitgo/wallet
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -305,6 +305,7 @@ export interface TransfersOptions extends PaginationOptions {
305
305
includeHex ?: boolean ;
306
306
state ?: string [ ] | string ;
307
307
type ?: string ;
308
+ decorateUtxoSpecificFields ?: boolean ;
308
309
}
309
310
310
311
export interface GetTransferOptions {
Original file line number Diff line number Diff line change @@ -572,6 +572,13 @@ export class Wallet implements IWallet {
572
572
query . type = params . type ;
573
573
}
574
574
575
+ if ( ! _ . isNil ( params . decorateUtxoSpecificFields ) ) {
576
+ if ( ! _ . isBoolean ( params . decorateUtxoSpecificFields ) ) {
577
+ throw new Error ( 'invalid includeHex argument, expecting boolean' ) ;
578
+ }
579
+ query . decorateUtxoSpecificFields = params . decorateUtxoSpecificFields ;
580
+ }
581
+
575
582
return await this . bitgo . get ( this . url ( '/transfer' ) ) . query ( query ) . result ( ) ;
576
583
}
577
584
You can’t perform that action at this time.
0 commit comments