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

136
Vistas
getPastEvents() not returning for plygon

I have a perfectly working code on Ethereum (Ropsten Testnet). I recently migrated to Polygon Testnet (mumbai). Deployment went smooth (See Deployment on Polyscan)

I can play with my SmartContract using Remix. Events are getting fired (See the Events Log).

I have the following code in my Dapp, whuch get the events successfully from Ropsten, but is not returning anything for Polygon-Testnet (the contract address is correct). What am I doing wrong here? Does Polygon use the same JS Web3 APIs (web3 ^1.3.6)?

  debugger;
  let pastEventsAdded = await AccountsContract.getPastEvents(
    "AccountAdded",
    ev
  );
  debugger;
about 4 years ago · Juan Pablo Isaza
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