Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions modules/express/src/typedRoutes/api/v2/signerMacaroon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import { BitgoExpressError } from '../../schemas/error';
* @property {string} walletId - The ID of the wallet.
*/
export const SignerMacaroonParams = {
/** A lightning coin name (e.g, lnbtc). */
/** A lightning coin name. */
coin: t.string,
/** The ID of the wallet. */
/** The wallet ID. */
walletId: t.string,
} as const;

Expand Down Expand Up @@ -41,15 +41,10 @@ export const SignerMacaroonResponse = {
} as const;

/**
* Lightning - Create signer macaroon
*
* This is only used for self-custody lightning.
* Create the signer macaroon for the watch-only Lightning Network Daemon (LND) node.
* This macaroon derives from the signer node admin macaroon and is used by the watch-only node to request signatures from the signer node for operational tasks.
* Returns the updated wallet with the encrypted signer macaroon in the `coinSpecific` response field.
* This is only used for self-custody lightning. Create the signer macaroon for the watch-only Lightning Network Daemon (LND) node. This macaroon derives from the signer node admin macaroon and is used by the watch-only node to request signatures from the signer node for operational tasks. Returns the updated wallet with the encrypted signer macaroon in the coinSpecific response field.
*
* @operationId express.lightning.signerMacaroon
* @tag express
* @tag Express
*/
export const PostSignerMacaroon = httpRoute({
method: 'POST',
Expand Down
Loading