-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { | ||
AuthenticatedLightningArgs, | ||
AuthenticatedLightningMethod, | ||
} from '../../typescript'; | ||
|
||
export type RequestBatchedFeeIncreaseArgs = AuthenticatedLightningArgs<{ | ||
/** Maximum Tokens to Pay Into Chain Fees Number */ | ||
max_fee?: number; | ||
/** Maximum Height To Reach a Confirmation Number */ | ||
max_height?: number; | ||
/** Unconfirmed UTXO Transaction Id Hex String */ | ||
transaction_id: string; | ||
/** Unconfirmed UTXO Transaction Index Number */ | ||
transaction_vout: number; | ||
}>; | ||
|
||
/** | ||
* Request batched CPFP fee bumping of an unconfirmed outpoint on a deadline | ||
* | ||
* Requires `onchain:write` permission | ||
* | ||
* Requires LND built with `walletrpc` build tag | ||
* | ||
* This method is unsupported on LND 0.17.5 and below | ||
*/ | ||
export const requestBatchedFeeIncrease: AuthenticatedLightningMethod<RequestBatchedFeeIncreaseArgs>; |