Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Visual

Functionality

Profile Look-up

FCH Not Found

Profile - Payments

Payment Details

  • Display

    • Elements as defined on Profile - Payments Page

    • Disclaimer - only show if token_code and chain_code are not the same

    • FIO Crypto Handle

    • Public address as obtained from /get_pub_address

    • Public address QR code

    • Links

      • X

        • On click

          • Close pop-up

      • Copy

        • On click

          • Copy public address to clipboard

Profile - NFT Signatures

Empty State

  • Display

    • FIO Crypto Handle

    • NFT Signatures option

    • Links

      • Back to Profile Lookup

        • On click

          • Display Profile Look-up Page

      • NFT Image

        • On click

          • Display NFT Signature Details Page

      • Profile tabs

        • Payments

          • On click display Profile - Payments Page

        • NFT Signatures

          • On click display Profile - NFT Signatures Page

        • Socials

          • On click display Profile - Socials Page

NFT Signature Details

Image Altered

Image not Available

Multiple Signatures

  • Display

    • FIO Crypto Handle

    • Elements

      • See NFT Metadata

        • Show element and header only if element available

    • Links

      • X

        • On click

          • Close pop-up

      • View NFT - show if External URL available

        • On click

          • Open External URL in New Tab

Profile - Socials

Empty State

  • Display

    • FIO Crypto Handle

    • Social links - show only when data returned

      • Obtained from /get_nfts_fio_address and using chain_code: SOCIALS and the following token_codes:

        • DISCORD

          • Url

            • https://discordapp.com/users/username

        • FACEBOOK

          • Url

            • https://facebook.com/username

        • HIVE

          • Url

            • https://peakd.com/@username

        • INSTAGRAM

          • Url

            • https://instagram.com/username

        • LINKEDIN

          • Url

            • https://www.linkedin.com/in/username

        • MASTADONE

          • Url

            • https://mastodon.social/@username

        • NOSTR

          • Url

            • https://iris.to/username

        • REDDIT

          • Url

            • https://www.reddit.com/user/username

        • TWITTER

          • Url

            • https://twitter.com/username

        • TELEGRAM

          • Url

            • https://t.me/username

        • WHATSUP

          • Url

            • https://wa.me/username

    • Links

      • Back to Profile Lookup

        • On click

          • Display Profile Look-up Page

      • Social Handle Tile

        • On click

          • Open url in New Tab

      • Profile tabs

        • Payments

          • On click display Profile - Payments Page

        • NFT Signatures

          • On click display Profile - NFT Signatures Page

        • Socials

          • On click display Profile - Socials Page

...

Requirement

Details

Authentication

  • In order to not expose API key, make calls server side

  • API key/secret to be provided

Endpoint

https://deep-index.moralis.io/api/v2.2/nft/{address}/{token_id}?{chain}=bsc&format=decimal&normalizeMetadata=true&media_items=false'

API spec

https://docs.moralis.io/web3-data-api/evm/nft-apireference/get-contract-nfts

Request Parameters

  • chain_code to chain mapping

    • ETH = eth

    • MATIC = polygon

    • ARB1 = arbitrum

    • BSC = bsc

    • AVAX = avalanche

    • FTM = fantom

    • CRO = cronos

  • address - contract_address returned by /get_nfts_fio_address

  • token_id - token_id returned by /get_nfts_fio_address

Response

  • metadata -> name - NFT Name

  • metadata -> image - NFT Image

  • metadata -> description- NFT Description

  • metadata -> external_url - External URL