Skip to content

Commit 8c3379f

Browse files
authored
docs(express): lightning init wallet v2
2 parents e043291 + d4086e0 commit 8c3379f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

modules/express/src/typedRoutes/api/v2/lightningInitWallet.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import { BitgoExpressError } from '../../schemas/error';
88
* @property {string} walletId - The ID of the wallet.
99
*/
1010
export const LightningInitWalletParams = {
11+
/** A lightning coin name. */
1112
coin: t.string,
13+
/** The wallet ID. */
1214
walletId: t.string,
1315
} as const;
1416

@@ -33,11 +35,10 @@ export const LightningInitWalletResponse = {
3335
} as const;
3436

3537
/**
36-
* Lightning - This is only used for self-custody lightning. Initialize a newly created Lightning Network Daemon (LND) for the first time.
37-
* Returns the updated wallet with the encrypted admin macaroon in the `coinSpecific` response field.
38+
* This is only used for self-custody lightning. Initialize a newly created Lightning Network Daemon (LND) for the first time. Returns the updated wallet with the encrypted admin macaroon in the coinSpecific response field.
3839
*
3940
* @operationId express.lightning.initWallet
40-
* @tag express
41+
* @tag Express
4142
*/
4243
export const PostLightningInitWallet = httpRoute({
4344
path: '/api/v2/{coin}/wallet/{walletId}/initwallet',

0 commit comments

Comments
 (0)