In some cases, you might want to use both Etherscan and Infura. For example, you might use Etherscan to query transaction histories or token transfers, and Infura to send transactions or deploy contracts.
- Etherscan: Use to fetch transaction history and display it in your dApp.
- Infura: Use to allow users to send transactions or interact with smart contracts.