How to get the total number of transactions for a given chain+contract address?

Hi there,

Is there a way for us to get the total number of transactions as displayed on etherscan.

We need the query to be universal (work with tokens and regular contracts).

Best!

Try Transfers API ERC20 Token Transfers API | Blockchain Data API (V2)

@SachaTrustblock check counf of tx example - Blockchain Data API → this works with tokens

count of tx with smartcontract - Blockchain Data API → calls to smart contracts

the second one works with both tokens and smart contracts