For example, windoge98.
After my checking this token seems to be only ledger canister.
I used the ICRC1 interface from icrc-api.internetcomputer.org, but it doesn’t seem to work for windoge98.
Is there any way to do this other than traversing all the historical transactions to look up a user’s transactions from it (which is crazy)?
The internetcomputer.org API only contains SNS and ckTokens for now.
Something needs to do all the traversing. You can do it by hand, spin up your own index canister, run a rosetta node yourself, or ask someone else to do it for you.
I was a bit shocked by the need to manually download all the transactions and sift through them
Totally get that, I wouldn’t want to do that either. That’s why most projects spin up an index canister…
Sorry to say this has been resolved, but I was thinking of getting the data by hitting the API for similar SNS and ICRC1 tokens that are not ChainKey tokens. How would it work with downloads? Can it be downloaded from the archive canister?
You need to download blocks from both the ledger and archive canisters. All canisters that have blocks to download will have some get_blocks
function or something named similarly. You can use these to fetch multiple blocks at a time
For the specific case of windoge98, that ledger doesn’t seem to use the same implementation as e.g., the OpenChat SNS ledger canister (at least the API is different), so there may be a different (non-standard) way of getting the desired information from the windoge98 ledger, but looking at the API I couldn’t spot one.