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