Skip to content

💡 Implement - NFTs #563

@Agilulfo1820

Description

@Agilulfo1820

Summary

We call this endpoint https://indexer.mainnet.vechain.org/swagger-ui/index.html#/NFT/getOwnedNFTs and get the nfts owned by the user.

VERY IMPORTANT: there are scam NFTs so we need to exclude scam collections. We should ask VeWorld the address of the contract that returns scam NFT collections.

Image

"Hard thing" -> we need to see first everything grouped per collection, then on click see all the nfts of that collection, then on click we see the details of the nft.

At this point we may need to follow the ERC721 standard of calling getTokenUri/tokenURI in the contract of the collection, which will return the ipfs url of the metadata -> then we call the ipfs url to get the metadata object (we already have some ipfs decoding and calling stuff taht we use for the avatar of the user and the profile information attached to the vet domain)

Basic Example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions