@@ -956,6 +956,7 @@ Wallet.prototype.removeUser = function(params, callback) {
956956 * @param {Boolean } params.noSplitChange - Set to true to disable automatic change splitting for purposes of unspent management
957957 * @param {Array } params.unspents - The unspents to use in the transaction. Each unspent should be in the form prevTxId:nOutput
958958 * @param {String } params.changeAddress - Specifies the destination of the change output
959+ * @param {Boolean } params.instant - Build this transaction to conform with instant sending coin-specific method (if available)
959960 * @param callback
960961 * @returns {* }
961962 */
@@ -967,7 +968,8 @@ Wallet.prototype.prebuildTransaction = function(params, callback) {
967968 'enforceMinConfirmsForChange' , 'targetWalletUnspents' ,
968969 'message' , 'minValue' , 'maxValue' , 'sequenceId' ,
969970 'lastLedgerSequence' , 'ledgerSequenceDelta' , 'gasPrice' ,
970- 'noSplitChange' , 'unspents' , 'changeAddress' , 'unspentTypes' , 'changeAddressType'
971+ 'noSplitChange' , 'unspents' , 'changeAddress' , 'unspentTypes' , 'changeAddressType' ,
972+ 'instant'
971973 ] ) ;
972974
973975 if ( _ . isUndefined ( whitelistedParams . unspentTypes ) ) {
@@ -1167,6 +1169,7 @@ Wallet.prototype.send = function(params, callback) {
11671169 * @param {String } params.comment - Any additional comment to attach to the transaction
11681170 * @param {String } params.otp - Two factor auth code to enable sending the transaction
11691171 * @param {String } params.changeAddress - Specifies the destination of the change output
1172+ * @param {Boolean } params.instant - Send this transaction using coin-specific instant sending method (if available)
11701173 * @param callback
11711174 * @returns {* }
11721175 */
@@ -1195,7 +1198,8 @@ Wallet.prototype.sendMany = function(params, callback) {
11951198 'enforceMinConfirmsForChange' , 'targetWalletUnspents' ,
11961199 'message' , 'minValue' , 'maxValue' , 'sequenceId' ,
11971200 'lastLedgerSequence' , 'ledgerSequenceDelta' , 'gasPrice' ,
1198- 'noSplitChange' , 'unspents' , 'comment' , 'otp' , 'changeAddress'
1201+ 'noSplitChange' , 'unspents' , 'comment' , 'otp' , 'changeAddress' ,
1202+ 'instant'
11991203 ] ) ;
12001204 const finalTxParams = _ . extend ( { } , halfSignedTransaction , selectParams ) ;
12011205 return this . bitgo . post ( this . url ( '/tx/send' ) )
0 commit comments