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

261
Vistas
Get a list of all erc721 tokens on an address

I'm trying to make a program that transfers all non fungible tokens (erc-721) to a different address. I already have the transfer part set up. But I have no clue how to get all the tokens/nft contracts from an address as I wasn't able to find anything online.

I tried

    const myContract = new web3.eth.Contract(abi, token);
    let balance = await myContract.methods.balanceOf(address)//.call();

but for that, you'd still need the contract address. Is there any way to do what I'm trying to? Just to get all the tokens from the public (and or private) key?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

No, since every token is managed by different contracts, you'll need to know the addressed of those contracts and call balanceOf(address).

There are APIs that list the most common tokens ( contract addresses ), but they do not include all of them.

Or call a method on the user's wallet ( you'll need to call different methods depending on which wallet is the user connected with ) that could provide the current tokens that user has regitered on their wallet, and thats IF that wallet supports this function.

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