1

I'm encountering an issue when retrieving transaction hashes. Essentially, I want to input the token address and obtain all parsed transactions, then filter those addresses that swapped the token on Raydium. I used connection.getSignaturesForAddress(tokenAddress);, but it only returns up to 1000 transactions. Is there any other way to obtain all the addresses or any way to get all transactions?

1 Answer 1

1

getSignatureForAddress has a before parameter which means it starts searching from that signature. So you could create a loop that goes backwards and starts again searching from the oldest signature backwards.

Here are the docs: https://solana.com/docs/rpc/http/getsignaturesforaddress

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.