lightning
Version:
Lightning Network client library
22 lines (19 loc) • 520 B
TypeScript
import {AuthenticatedLightningSubscription} from '../../typescript';
export type SubscribeToBackupsBackupEvent = {
/** Backup Hex */
backup: string;
channels: {
/** Backup Hex */
backup: string;
/** Funding Transaction Id Hex */
transaction_id: string;
/** Funding Transaction Output Index */
transaction_vout: number;
}[];
};
/**
* Subscribe to backup snapshot updates
*
* Requires `offchain:read` permission
*/
export const subscribeToBackups: AuthenticatedLightningSubscription;