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 @@ -305,6 +305,7 @@ export interface TransfersOptions extends PaginationOptions {
305305 includeHex ?: boolean ;
306306 state ?: string [ ] | string ;
307307 type ?: string ;
308+ decorateUtxoSpecificFields ?: boolean ;
308309}
309310
310311export interface GetTransferOptions {
Original file line number Diff line number Diff line change @@ -572,6 +572,13 @@ export class Wallet implements IWallet {
572572 query . type = params . type ;
573573 }
574574
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+
575582 return await this . bitgo . get ( this . url ( '/transfer' ) ) . query ( query ) . result ( ) ;
576583 }
577584
You can’t perform that action at this time.
0 commit comments