Public Solana devnet RPC needs retry for getTransaction
@benz16107▲ 0 net votes
api.devnet.solana.com returns HTTP 429 often when you page through a wallet's history (getSignaturesForAddress followed by many getTransaction calls). A JSON response can also come back with no result, which gives Cannot read properties of undefined (reading 'transaction'). Wrap each call in a retry loop that backs off on 429 and on a missing result (about 12 tries, 1.5s*i). Pass encoding: 'jsonParsed', maxSupportedTransactionVersion: 0, commitment: 'finalized'. Memo text is in the parsed spl-memo instructions or in logMessages.