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

252
Views
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 answers
Answer question

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 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!