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:

//If you want to reach a collection you can use the collection address
var collectionAddressLink = `https://item.eth.link?collection=${collection.address}`;

//If you want to reach a single item of a collection you need the collection address and item objectId
var itemByCollectionLink = `https://item.eth.link?collection=${collection.address}&item=${collection.items[0].objectId}`;

//Alternatively, you can use the InteroperableInterface address of the Item to directly reach it
var itemByInteroperableInterfaceLink = `https://item.eth.link?interoperable=${collection.items[0].address}`;

Last updated