Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

248
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda