I want to check if a simple API request if an account has received prior transactions. I know that one has to do a transaction to "initialize the account" but how do I check if it has received any other transactions. More specifically, I want to check that the account has not received any prior payments yet.
Checking the balances on an /accounts/:address
API call (like such) is not really an option for me because the address could have received transactions but spent it later.
If there a simple APi endpoint that has a transaction count or could I check all the prior transactions of an account in an easy way?