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