1

I'm wondering why no solana explorer shows the entire number of transactions like etherscan. For example, it is impossible to see the first transaction of a solana account with hundreds of thousands of transactions! Is this because of NONCE?

Solana explorers: enter image description here

etherscan: enter image description here

1 Answer 1

4

There isn't really a Solana or Ethereum reason for this. For both Ethereum and Solana you can't directly fetch the first transaction of an account, instead you have to iterate backwards through all transactions until you stop finding transactions for an address. I assume in the case of Etherscan they do this process on the backend and store it so that the frontend can just query it from there & that Solscan doesn't support this feature on the backend.

3
  • 1
    So all this to say if this a feature you'd like you should ping the Solscan team on Twitter or discord :)
    – Ahri
    Jan 24 at 13:27
  • so if I have a solana full node locally, how long will it take me to get all transactions of an account with 200k transactions? Jan 24 at 14:12
  • 1
    You don't need a full node for this - you can just use web3js on your local machine: solana.stackexchange.com/questions/2043/… . The time it takes to execute then depends on the speed of your RPC.
    – Ahri
    Jan 24 at 14:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.