I am using hedera offical api in code, for accountid 0.0.1261794 getting 2 transactions only where as publickkey e2cc4c84391f5d9fd74dcf8199fb0bcd9c629f4d9aaa223649aad2814c56e6ba associated with 0.0.1261794 accountid, return more than 20 transactions.
Account API - https://mainnet-public.mirrornode.hedera.com/api/v1/accounts?account.id=0.0.1261794
Transaction API (AccountId) - https://mainnet-public.mirrornode.hedera.com/api/v1/transactions?account.id=0.0.1261794
Transaction API (PublicKey) - https://mainnet-public.mirrornode.hedera.com/api/v1/transactions?account.publickey=e2cc4c84391f5d9fd74dcf8199fb0bcd9c629f4d9aaa223649aad2814c56e6ba
As from explorer it's showing only two transactions. https://hederaexplorer.io/search-details/account/0.0.1261794
Thanks Umang