I’ve been looking into the ICRC-1 standard recently, especially how achievable it would be to create a generic wallet implementation for all tokens that follow the standard. It appears to me, though, that there’s one thing that could make the shipping of a fully satisfactory solution a much harder task, I failed to find a generic way to fetch a list of token transactions for the specified account. I was looking for an indexer that provides such functionality, but without much luck.
During my search, I stumbled upon a draft for the ICRC-3 standard that is meant to standarize the way of accessing the transaction history, I even gave it a try with the ckBTC canister (I believe it implements the draft, doesn’t it?) and, though I found it to be a brilliant idea to have such feature coming directly from a canister, it sadly provides only a base functionality that doesn’t seem really scalable on the client side (depending on the canister activity, it could mean hundreds of network requests just to find an entry involving specific account).
Digging deeper into ckBTC I’ve noticed it comes with an indexer canister (Canister: n5wcd-faaaa-aaaar-qaaea-cai - IC Dashboard) that does exactly what I was looking for. Unfortunately, I didn’t find any signs that such a companion is part of any standard.
Is there a plan to somehow extend the ICRC standards with a similar indexer? Or maybe would it be feasible to make a method such as
get_account_transactions in ckBTC’s indexer directly part of ICRC-3?