lightning
Version:
Lightning Network client library
17 lines (14 loc) • 422 B
TypeScript
import {
AuthenticatedLightningArgs,
AuthenticatedLightningMethod,
} from '../../typescript';
export type RecoverFundsFromChannelArgs = AuthenticatedLightningArgs<{
/** Backup Hex */
backup: string;
}>;
/**
* Verify and restore a channel from a single channel backup
*
* Requires `offchain:write` permission
*/
export const recoverFundsFromChannel: AuthenticatedLightningMethod<RecoverFundsFromChannelArgs>;