Hide Lore
Hide a lore with a signed Message and a lore Id
As an NFT owner, one has the ability to hide the lore they have on their NFT including all the lore they have written before as well as lore from the previous owner. Because we want to introduce more permanence to the nature of the lores contributed, the lores cannot be edited only hidden once they are created.
Hiding can happen by passing a valid loreId and a valid signed message as part of the payload to this endpoint.
Missed how to generate a signed message? Check out the guide below
After you generate a valid signature or signed Message, you can proceed to hide a lore.
post
https://api.hyy.pe/api/v1
/lore/hide-lore
Hide Lore
----
Take a look at how you might want to pass the payload via curl:
cURL
curl -X 'POST' \
'https://sandboxapi.hyy.pe/api/v1/lore/hide-lore' \
-H 'accept: application/json' \
-H 'client-id: <YOUR_CLIENT_ID_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"signedMessage": "<signed_messages_goes_here>",
"walletAddress": "<signature_owner_address_goes_here>",
"loreId": "62909947b520dc0e4bee0c8f"
}'
Export as PDF
Copy link