A common image.
Key | Type | Description |
---|---|---|
url |
URL String | A direct URL to the image source. |
ipfs_cid |
CID String | IPFS CID to the image. |
nft |
NFT | Pointer to an NFT. |
At least one the keys is required. Ideally, you should provide exactly one of the keys, but it's not strictly required. The image should be displayed in the following priority order:
nft
ipfs_cid
url
{
"url": "https://cloudflare-ipfs.com/ipfs/QmQqzMTavQgT4f4T5v6PWBp7XNKtoPmC9jvn12WPT3gkSE"
}
{
"ipfs_cid": "bafkreigfsxev7mc6hkdc55ey6hx4zmbrhipsvy32vwn45vw6zbg2hgzugu"
}
{
"nft": {
"contractId": "mrbrownproject.near",
"tokenId": "3107"
}
}