diff --git a/src/types.ts b/src/types.ts index c37d610..2723889 100644 --- a/src/types.ts +++ b/src/types.ts @@ -120,7 +120,10 @@ export type FastspotContract = { id: string, intermediary: T extends SwapAsset.NIM ? { address: string, - timeoutBlock: number, + /** + * In milliseconds. + */ + timeoutTime: number, data: string, } : T extends SwapAsset.BTC ? { @@ -242,7 +245,10 @@ export type Estimate = { export type NimHtlcDetails = { address: string, - timeoutBlock: number, + /** + * In milliseconds. + */ + timeoutTime: number, data: string, };