Is there a way to get all the transactions from a wallet address using ethers.js or viem.sh?

Or are there any third-party libraries that have this functionality?

I'm looking for something along the lines of:

const transactions = await sdk.getTransactions(address);

1 Answer 1


Not really natively, it'd be easiest to use a third-party API for this. You can use Etherscan if you'd like, https://etherscan.io/apis

Or something a bit more dev-focused like Covalent, https://www.covalenthq.com/docs/api/transactions/get-paginated-transactions-for-address-v3/

If you prefer an SDK format, Chainstack offers an SDK for Covalent: https://chainstack.com/marketplace/covalent/ & https://github.com/chainstacklabs/chainstack-covalent-sdk/

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.