I am using Infura for Mainnet/Testnet and connect web3.js API from browser. The problem is that Infura is showing around 10 transactions less than what I see in etherscan. I want to know total transaction to calculate nonce.
Now, I am aware that there might be syncing issue in Infura temporarily. But, It seems it has latest block as Etherscan
I am using web3.eth.getTransactionCount()
function to get Total Transactions of an address.
Any thoughts on this will be appreciated.