Direct Links for ITEMs and Collections
To create the ITEM.eth official and secure page for a collection or a single ITEM, you have to build the link with:
ITEM.eth or item.eth.link
and add the following information:
1
//If you want to reach a collection you can use the collection address
2
var collectionAddressLink = `https://item.eth.link?collection=${collection.address}`;
3
4
//If you want to reach a single item of a collection you need the collection address and item objectId
5
var itemByCollectionLink = `https://item.eth.link?collection=${collection.address}&item=${collection.items[0].objectId}`;
6
7
//Alternatively, you can use the InteroperableInterface address of the Item to directly reach it
8
var itemByInteroperableInterfaceLink = `https://item.eth.link?interoperable=${collection.items[0].address}`;
Copied!
Copy link