Post by asadlee about Jupiter Lend DEX ($JUP)
$JUP a small correction to the Swap V1 docs could help developers handle expired swaps.
The Send Swap Transaction guide calls confirmTransaction with only {signature}, leaving out the original transaction’s blockhash and matching lastValidBlockHeight.
An AI-assisted offline reproduction using the published @solana/web3.js 1.99.0 SDK found that this object entered the durable-nonce path with an undefined nonce account. Under mocked expired-transaction conditions, it stayed pending without checking block height.
Including the original blockhash and matching lastValidBlockHeight selected the correct confirmation path and returned TransactionExpiredBlockheightExceededError.
Could the guide update this example and include expiry handling? That could help integrators show a clear Expired status when a dropped swap cannot be confirmed.
Scope: legacy Swap V1 documentation and an offline SDK reproduction. No live Jupiter swap or app failure was tested.
Source: Jupiter Swap V1 guide