I know you can validate the data of specific tx hashes using web3js or the etherscan api. But is there a service which allows to query all transactions performed by or connected to a specific smart contract?


2 Answers 2


If you like to fetch specific contracts (or to an extent general account) address history, then you can use service such as Moralis.

They have Transaction API that can help you index transaction data easily. If you like to index historical transactions, they have an API here that you can use very easily. All you need to provide is a valid address input.

Here if you like to follow a tutorial, they also have it right here along with youtube video if that is what you preferred.

Hope this helps!


Yes, there are several services that allow you to query all transactions related to a specific smart contract. Etherscan, for example, provides a "View Contract" feature that allows you to view the contract's code, its transaction history, and its internal transactions. Additionally, you can use the web3.js library to interact with the Ethereum blockchain and retrieve information about a specific contract, including its transaction history. Other blockchain explorers such as blockscout, ethplorer, and enjinx also allow you to view transaction history related to a specific smart contract.

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.