For NFTs you own, the NFT image will appear with a shiny frame.
Copy in the asset URL from OpenSea.
Stretches an image to fit the scale.
This is used to determine how the image is blended with the content behind it. The available options are Combine, Multiply, and Screen.
Choose how alpha is treated. (ignored or not)
Choose the intensity of brightness.
If ticked, clicking on this NFT will show an HTML UI with information about the NFT
String
; Links must be https://
.
feature.get('url')
// returns: "https://..."
feature.set({'url':"https://www.opensea.io/"})
""
Boolean
;
feature.get('stretch')
// returns: "https://..."
feature.set({'stretch':true})
false
ImageMode
; An enum :
feature.get('blendMode')
// returns: "Multiply"
feature.set({'blendMode':"Combine"})
Combine
A function that returns the opensea nftData of the specified feature.
feature.getNftData(console.log)
/* returns:
{
animation_original_url: "https://ipfsga..."
animation_url: "https://stora..."
asset_contract: {...}
...
}
function showContractAddress(data){
console.log(data.asset_contract.address)
}
feature.getNftData(showContractAddress)
/* returns: 0x1das1rs6dfv...