File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
modules/sdk-core/src/bitgo/wallet Expand file tree Collapse file tree 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 {
306306 includeHex ?: boolean ;
307307 state ?: string [ ] | string ;
308308 type ?: string ;
309+ decorateUtxoSpecificFields ?: boolean ;
309310}
310311
311312export interface GetTransferOptions {
Original file line number Diff line number Diff line change @@ -573,6 +573,13 @@ export class Wallet implements IWallet {
573573 query . type = params . type ;
574574 }
575575
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+
576583 return await this . bitgo . get ( this . url ( '/transfer' ) ) . query ( query ) . result ( ) ;
577584 }
578585
You can’t perform that action at this time.
0 commit comments