Variable: PENDING_SWAP_PRUNE_REASONS
constPENDING_SWAP_PRUNE_REASONS: readonly ["expired","invalid_unique_key","chain_rejected","unconfirmable"]
Why the store dropped a pending swap (the reason of PrunedPendingSwap).
expired: older than PENDING_SWAP_EXPIRY_MS.invalid_unique_key: itsuniqueKeyis not a valid apply-results key (1 to 128 characters ofA-Za-z0-9._:-).confirmAppliedTraderefuses such a key withINVALID_UNIQUE_KEYbefore reading anything and always will, so keeping the entry would retry it forever. The SDK never signs such a key; an entry like this is corrupt or foreign.chain_rejected: PendingSwapStore.settle dropped it because a confirmation proved the chain REFUSED the trade (pendingSwapFateForisforget): it did not happen.unconfirmable: PendingSwapStore.settle dropped it because a confirmation failed in a way that never changes (forget_quietly: the key itself is refused): nothing can be learned.
invalid unique key chain rejected confirm applied trade pending swap fate for forget quietly