Extra object
The extra
object
extra
objectThe 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:
Property | Type | Description |
---|---|---|
author_image_url | String | The URL of the author's avatar |
author | String | The name of the author |
image_url | String | The URL of the NFT's image |
name | String | The name of the NFT |
seller | String | The name of the NFT's seller |
Constructing the extra
object
extra
objectThe 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
}
}
Updated 2 months ago
Documentation related to this page