Skip to content
docs

SwapTrackerDeps

Defined in: swaps.ts:131

alarm: object

Defined in: swaps.ts:136

Start / stop the periodic alarm (chrome.alarms.create(name, { periodInMinutes: 1 })).

start(): void | Promise<void>

void | Promise<void>

stop(): void | Promise<void>

void | Promise<void>


optional giveUpAfterMs?: number

Defined in: swaps.ts:139

No progress for this long → expired (default 48 h).


optional now?: () => number

Defined in: swaps.ts:137

number


store: SwapsStore

Defined in: swaps.ts:132

status(record): Promise<IntentStatus>

Defined in: swaps.ts:134

The provider’s view of the swap (CrossChainRouter.trackIntent).

SwapRecord

Promise<IntentStatus>