Interface: ConfirmOptions
Controls timeout, polling and cancellation of confirmation.
timeoutMs(default 60 000): overall deadline, counted from theconfirm()call and includinginitialDelayMs. At least one read is always made.pollIntervalMs(default 2 000, minimum 500): base interval, doubled with jitter up to 8 s.initialDelayMs: wait before the first read. Defaults to 3 000 for a queued RequestTrade (the AutoApplier needs a few seconds) and 0 for liquidity writes (already executed).signal: aborts the wait or an in-flight read. Confirmation then throws an error with codeCONFIRMATION_ABORTED; nothing is learned about the outcome, so confirm the sameuniqueKeyagain later.
timeout ms initial delay poll interval confirmation aborted unique key
Properties
| Property | Type |
|---|---|
initialDelayMs? | number |
pollIntervalMs? | number |
signal? | AbortSignal |
timeoutMs? | number |
initial delay ms poll interval abort signal timeout