One endpoint to get AE token transfers filtered by contractId
and accountId
#1678
Description
Hi. This entry is a follow up to this issue: #1580
Currently the @aeternity/superhero team is working on handling not only AE protocol, but also Bitcoin and Ethereum. This requires us to avoid hacks and protocol specific workarounds so the wallet is as plugabble as it can be.
As @CedrikNikita mentioned in his comment (#1580 (comment)) having two separate endpoints for sender
and receiver
is not usable for us. We are not able to keep two separate next page urls when trying to obtain one list. It would be possible if our wallet would be focused on AE protocol only, but we need to keep a lot of data and splitting the calls makes our work insanely hard. Please see for example how Etherscan is handling this: https://docs.etherscan.io/api-endpoints/accounts#get-a-list-of-erc20-token-transfer-events-by-address - if we provide the contractaddress
param we receive the list of all transactions for this particular token.
So maybe there is a possibility of having one endpoint for fetching all token transactions?