Skip to content

Commit

Permalink
Add result type
Browse files Browse the repository at this point in the history
  • Loading branch information
bkiac committed Jun 2, 2024
1 parent 81f1b39 commit bfc16ff
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lnd_methods/onchain/create_funded_psbt.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ export type CreateFundedPsbtArgs = AuthenticatedLightningArgs<{
version?: number;
}>;

export interface CreateFundedPsbtResult {
/** Unsigned PSBT Hex String */
psbt: string;
}

/**
* Create an unsigned funded PSBT given inputs or outputs
*
Expand All @@ -47,4 +52,7 @@ export type CreateFundedPsbtArgs = AuthenticatedLightningArgs<{
*
* This method is not supported on LND 0.17.5 or below
*/
export const createFundedPsbt: AuthenticatedLightningMethod<CreateFundedPsbtArgs>;
export const createFundedPsbt: AuthenticatedLightningMethod<
CreateFundedPsbtArgs,
CreateFundedPsbtResult
>;

0 comments on commit bfc16ff

Please sign in to comment.