NFT Lore Object Model
Lores are the primary object in Hyype API
Every post someone makes via Hyy.pe about their NFT, is called a "Lore". Hyy.pe API allows builders to integrate these stories directly into their apps and experiences. Below is an example of a Lore posted on Hyy.pe.
Only NFT owners can post lore. Once the NFT is sold - previous owner looses access to contribute lore to the sold NFT.
Here's an overview of some of the fields contained in a Lore:
Shows when this lore was added. This is shared as a
Tagged token shares the details of the NFT for which this Lore was written. see taggedToken section below.
This shares the text blurb which is displayed as a peek text on a Lore card if you are designing a feed.
This shares a preview image of the Lore (defined by the author) which is displayed as a peek image on a Lore card if you are designing a feed.
Two types of lore are shared on hyype , either a
This shares the unique id of a lore object pinned on ipfs.
This shares how many times the lore was commented on Hyy.pe.
This shares how many times the lore was reacted on Hyy.pe.
This shares how many times the lore was viewed on Hyy.pe.
taggedTokenis the NFT object in the hyype API. NFT objects will include name, collection info, metadata & traits, media among other things as part of the response.
Below are a few fields contained in a NFT object:
Smart Contract Address of the NFT.
Token id of the NFT.
Individual Lores can be formed by combining many building blocks sequenced together. Building blocks can come in many forms - paragraphs, quotes, links, embeds, and much more.
loreDetailsis an array of block objects which together to form the whole lore.
blocks come in a variety of types - paragraph, embeds, images, videos & quotes being few of the more commonly used ones.
A few examples of blocks are included below:
"text": "<b>There has always been a bit of mystery surrounding this one. </b>"
"caption": "Year 2133: Citizen #10082 looking at the vast emptiness of planet Laran",
"text": "How did it all come to this",
"caption": "- Alien king says to himself",
Authoris a hyy.pe user writing this Lore. Here's an overview of some of the fields contained in a
Number of followers the user has on hyy.pe
Number of people this user follows on hyy.pe
All Wallet address associated with this user on hyy.pe
Primary wallet address associated with this user on hyy.pe
The timestamp of when this user was created on hyy.pe platform
Full name or display name of this user on hyy.pe platform.
Short text blurb defined by the user for their introduction/profile.
If the user has an NFT as a profile image then this object is returned. Object structure is the same as taggedToken / NFT object.
If the user uploaded a custom image then this returns a static image file as the user profile picture.
Last modified 9mo ago