Init:
npm init -yInstall solana/web3js:
npm i @solana/web3jsTo run the code:
node indexIf using index.js, getTransactionsBySlot(address, int, int) sets a range of slots from which transactions are fetched for the contract address provided.
If using tx-time.js, getTransactionsByTime(address, int, int) sets a range of slots from a pair of timestamps passed as parameters for the contract address provided.
If using tx-sig.js, getTransactionsByTxSig(address, address, address) sets a range of transactions from a pair of tx signatures passed as parameters for the contract address provided.
Side-note: Will prefer if a common endpoint is provided instead of my personal one. When using the clusterApiUrl, it reverts with an error saying Error: 429 Too Many Requests