2

Im trying to get a transaction through the api endpoint getTransaction.

The problem is i have a large basket of signatures(around 10.000) that i want for, each week. Im currently working in python, so this take quite a while.

is there a more correct or faster way to do this?

thanks in advance.

1 Answer 1

2

The Connection object has a getTransactions(signatures: string[]) function that accepts an array of signatures to fetch.

https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getTransactions

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.