Type Alias: ConfirmationState
gSwap SDK 2.0.0-rc.4 / ConfirmationState
Type Alias: ConfirmationState
ConfirmationState =
"aborted"|"timeout"|"failed"
Defined in: packages/gswap-sdk/dist/index.d.ts:3935
Where a failed CONFIRMATION of a queued write stopped, as a closed set a screen can switch on:
aborted: the caller's ownAbortSignalended the wait (CONFIRMATION_ABORTED). The person or the screen gave up waiting; the write may still land, and itsuniqueKeyis still the handle.timeout: the wait ran out before an apply result arrived (CONFIRMATION_TIMEOUT). The write is still pending as far as anyone knows.failed: the apply-results read itself failed or answered something unusable (CONFIRMATION_FAILED,CONFIRMATION_MALFORMED,CONFIRMATION_KEY_MISMATCH).
All three are unknown to classifyFailure: never submit again, confirm the same key.