For methods available specifically available for Solana archive nodes, see Solana archive methods availability .
@solana/web3.js
library:
getTransaction
method allows specifying a transaction signature to look up. Archive nodes use their indexes to quickly locate and return the requested transaction, even if it occurred months ago.