2

I am very new to the Solana blockchain being more familiar with Ethereum. I have a requirement to retrieve all transactions for specified addresses from the Solana blockchain and then store them into a database. I have experience of doing this for Ethereum which has a number of 3rd party cloud services which can service this type of request. Can anyone advise what would be the best way to do this for Solana and any particular services which can be used?

Thanks R

1

1 Answer 1

2

You can simply use the getSignaturesForAddress endpoint https://docs.solana.com/api/http#getsignaturesforaddress followed by getTransaction https://docs.solana.com/api/http#gettransaction for each signature returned.

As for services, the public mainnet-beta endpoint api.mainnet-beta.solana.com contains all historical transaction data, but there are other RPC providers that have the data. More information about endpoints at https://docs.solana.com/cluster/rpc-endpoints#endpoints

1
  • Thanks! I will take a look!
    – RickD
    Commented Dec 15, 2023 at 14:37

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.