Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

249
Views
How to check oldest transaction on Ethereum address?

I have a large amount of Ethereum address that I want to get the oldest transaction on that wallet

If the oldest transaction on that address is more than 10 days then I will keep it, other address will be discard

What is the best way to do this kind of task? checking it one by one is too tedious

Thank you very much for helping me

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Assuming you have access to a node provider with archive data, you can query the transaction count at a specific block number (e.g. a block that was mined 10 days ago).

const txCount10DaysAgo = await web3.eth.getTransactionCount(
    address,
    blockNumber10DaysAgo
);

If the oldest transaction on that address is more than 10 days then I will keep it

if (txCount10DaysAgo > 0) {
    keep(address);
}

Docs: https://web3js.readthedocs.io/en/v1.7.0/web3-eth.html#gettransactioncount

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!