diff --git a/modules/sdk-core/src/bitgo/lightning/codecs.ts b/modules/sdk-core/src/bitgo/lightning/codecs.ts index a6a3001372..bcfa805f60 100644 --- a/modules/sdk-core/src/bitgo/lightning/codecs.ts +++ b/modules/sdk-core/src/bitgo/lightning/codecs.ts @@ -173,3 +173,23 @@ export const LndGetBalancesResponse = t.strict( ); export type LndGetBalancesResponse = t.TypeOf; + +export const ChanPoints = t.strict( + { + fundingTxid: t.string, + outputIndex: t.number, + }, + 'ChanPoints' +); + +export type ChanPoints = t.TypeOf; + +export const BackupResponse = t.strict( + { + chanPoints: t.array(ChanPoints), + multiChanBackup: t.string, + }, + 'BackupResponse' +); + +export type BackupResponse = t.TypeOf;