Skip to main content
Function Signature
Parameters
  • chainId: The chain identifier in CAIP-2 format (e.g., “eip155:1” for Ethereum mainnet, “solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp” for Solana mainnet)
Returns An array of NftAsset objects, each containing:
  • nftID: Unique identifier for the NFT
  • name: NFT name
  • description: NFT description
  • imageURL: URL of the NFT image
  • chainID: Blockchain identifier
  • contractAddress: NFT contract address
  • tokenID: Token identifier
  • collection: Collection information
  • lastSale: Last sale details containing:
    • price: Sale price
    • currency: Currency used
    • date: Sale date
  • rarity: Rarity information:
    • rank: Rarity rank
    • score: Rarity score
  • floorPrice: Current floor price information:
    • price: Floor price value
    • currency: Currency
  • detailedInfo: Extended NFT information including:
    • ownerCount: Number of owners
    • tokenCount: Total tokens
    • createdDate: Creation date
    • attributes: NFT attributes
    • owners: Ownership details
    • extendedCollectionInfo: Collection metadata
    • extendedSaleInfo: Sale history
    • marketplaceInfo: Marketplace listings
    • mediaInfo: Media preview URLs and metadata
Example Usage
Implementation Notes
  • All fields in the NFT response are optional and should be safely unwrapped
  • The method provides rich metadata useful for marketplace integration
  • Floor prices and sale history can be used for portfolio valuation
  • Media previews include multiple resolutions for efficient loading