Extra object

The extra object

The extra object is an optional object which can be used to show your NFT's name, it's image, the author’s avatar, the author’s name and the seller’s name in the widget.

It will similar to this example:


The options you will need to pass to the object are:

PropertyTypeDescription
author_image_urlStringThe URL of the author's avatar
authorStringThe name of the author
image_urlStringThe URL of the NFT's image
nameStringThe name of the NFT
sellerStringThe name of the NFT's seller

Constructing the extra object

The extra object should be constructed with the following structure:

extra: {
  item_info: {
    author_image_url: String // example: https://something.com/images/image.jpg
    author: String
    image_url: String
    name: String
    seller: String
  }
}


Documentation related to this page