Git Product home page Git Product logo

Comments (5)

dostrelith678 avatar dostrelith678 commented on June 3, 2024 2

Does this look okay? Using asset examples from cardano-community/guild-operators#1467 (comment)

  1. Asset history:
    Royalty:
[
  {
    "policy_id": "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330",
    "asset_name": "",
    "minting_txs": [
      {
        "tx_hash": "c3cdb238371519027a0606a7ee5f5feef8577bc2406c0dcc5a7928ec8c21d77a",
        "block_time": 1659088924,
        "quantity": "1",
        "metadata": [
          {
            "key": "721",
            "json": {
              "version": "1.0",
              "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
                "0375": {
                  "name": "0375",
                  "Media": "3D & VR Designs",
                  "Title": "3D CNFT PRO.Té.Gé Medal",
                  "files": [
                    {
                      "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                      "name": "0375",
                      "mediaType": "image/gif"
                    }
                  ],
                  "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "Artist": "CNFT PRO.Té.Gé",
                  "Edition": "AR/GIF",
                  "Twitter": "https://twitter.com/CNFTPRO",
                  "Quantity": "1000",
                  "Copyright": "CNFT PRO.Té.Gé ©",
                  "Publisher": "NFThubs",
                  "Royalties": "5%",
                  "mediaType": "image/gif",
                  "Collection": "CNFT Protégé Collection Series",
                  "description": "CNFT Protégé Medal",
                  "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
                  "Publishers Website": "https://NFThubs.io/"
                }
              }
            }
          },
          {
            "key": "777",
            "json": {
              "pct": "0.75",
              "addr": [
                "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
                "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
              ]
            }
          }
        ]
      },
      {
        "tx_hash": "1529ced98380dd347139abbd91b832be9d3be25aa1f4a2d012a902d5608464f6",
        "block_time": 1659087888,
        "quantity": "1",
        "metadata": [
          {
            "key": "721",
            "json": {
              "version": "1.0",
              "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
                "0375": {
                  "name": "0375",
                  "Media": "3D & VR Designs",
                  "Title": "3D CNFT PRO.Té.Gé Medal",
                  "files": [
                    {
                      "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                      "name": "0375",
                      "mediaType": "image/gif"
                    }
                  ],
                  "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "Artist": "CNFT PRO.Té.Gé",
                  "Edition": "AR/GIF",
                  "Twitter": "https://twitter.com/CNFTPRO",
                  "Quantity": "1000",
                  "Copyright": "CNFT PRO.Té.Gé ©",
                  "Publisher": "NFThubs",
                  "Royalties": "5%",
                  "mediaType": "image/gif",
                  "Collection": "CNFT Protégé Collection Series",
                  "description": "CNFT Protégé Medal",
                  "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
                  "Publishers Website": "https://NFThubs.io/"
                }
              }
            }
          },
          {
            "key": "777",
            "json": {
              "pct": "0.75",
              "addr": [
                "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
                "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
              ]
            }
          }
        ]
      },
      {
        "tx_hash": "4090b3c24c26b8ce19a8d38f0ccdf5b3f78fd7d78223cbb73ee823fdd2dd55a7",
        "block_time": 1659086462,
        "quantity": "1",
        "metadata": [
          {
            "key": "721",
            "json": {
              "version": "1.0",
              "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
                "0375": {
                  "name": "0375",
                  "Media": "3D & VR Designs",
                  "Title": "3D CNFT PRO.Té.Gé Medal",
                  "files": [
                    {
                      "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                      "name": "0375",
                      "mediaType": "image/gif"
                    }
                  ],
                  "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "Artist": "CNFT PRO.Té.Gé",
                  "Edition": "AR/GIF",
                  "Twitter": "https://twitter.com/CNFTPRO",
                  "Quantity": "1000",
                  "Copyright": "CNFT PRO.Té.Gé ©",
                  "Publisher": "NFThubs",
                  "Royalties": "5%",
                  "mediaType": "image/gif",
                  "Collection": "CNFT Protégé Collection Series",
                  "description": "CNFT Protégé Medal",
                  "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
                  "Publishers Website": "https://NFThubs.io/"
                }
              }
            }
          },
          {
            "key": "777",
            "json": {
              "pct": "0.75",
              "addr": [
                "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
                "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
              ]
            }
          }
        ]
      },
      {
        "tx_hash": "97b1d62a83bb517467562b4ebe404c206f0355cb1f8c25a77e0178dd59e85120",
        "block_time": 1659013226,
        "quantity": "1",
        "metadata": [
          {
            "key": "721",
            "json": {
              "version": "1.0",
              "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
                "0375": {
                  "name": "0375",
                  "Media": "3D & VR Designs",
                  "Title": "3D CNFT PRO.Té.Gé Medal",
                  "files": [
                    {
                      "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                      "name": "0375",
                      "mediaType": "image/gif"
                    }
                  ],
                  "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "Artist": "CNFT PRO.Té.Gé",
                  "Edition": "AR/GIF",
                  "Twitter": "https://twitter.com/CNFTPRO",
                  "Quantity": "1000",
                  "Copyright": "CNFT PRO.Té.Gé ©",
                  "Publisher": "NFThubs",
                  "Royalties": "5%",
                  "mediaType": "image/gif",
                  "Collection": "CNFT Protégé Collection Series",
                  "description": "CNFT Protégé Medal",
                  "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
                  "Publishers Website": "https://NFThubs.io/"
                }
              }
            }
          },
          {
            "key": "777",
            "json": {
              "pct": "0.99",
              "addr": [
                "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
                "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
              ]
            }
          }
        ]
      },
      {
        "tx_hash": "1510a7594c2ee4bdead66cacb7c6398d4664594af69fee340e20077a576ee364",
        "block_time": 1659012941,
        "quantity": "1",
        "metadata": [
          {
            "key": "721",
            "json": {
              "version": "1.0",
              "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
                "0375": {
                  "name": "0375",
                  "Media": "3D & VR Designs",
                  "Title": "3D CNFT PRO.Té.Gé Medal",
                  "files": [
                    {
                      "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                      "name": "0375",
                      "mediaType": "image/gif"
                    }
                  ],
                  "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "Artist": "CNFT PRO.Té.Gé",
                  "Edition": "AR/GIF",
                  "Twitter": "https://twitter.com/CNFTPRO",
                  "Quantity": "1000",
                  "Copyright": "CNFT PRO.Té.Gé ©",
                  "Publisher": "NFThubs",
                  "Royalties": "5%",
                  "mediaType": "image/gif",
                  "Collection": "CNFT Protégé Collection Series",
                  "description": "CNFT Protégé Medal",
                  "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
                  "Publishers Website": "https://NFThubs.io/"
                }
              }
            }
          },
          {
            "key": "777",
            "json": {
              "pct": "0.12",
              "addr": [
                "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
                "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
              ]
            }
          }
        ]
      }
    ]
  }
]

Non-royalty:

[
  {
    "policy_id": "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330",
    "asset_name": "30333735",
    "minting_txs": [
      {
        "tx_hash": "1c451e6b863b5bc8693d7c778a0932f7ab29143b0a595087e516baadcf4dec15",
        "block_time": 1659089369,
        "quantity": "1",
        "metadata": [
          {
            "key": "721",
            "json": {
              "version": "1.0",
              "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
                "0375": {
                  "name": "0375",
                  "Media": "3D & VR Designs",
                  "Title": "3D CNFT PRO.Té.Gé Medal",
                  "files": [
                    {
                      "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                      "name": "0375",
                      "mediaType": "image/gif"
                    }
                  ],
                  "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "Artist": "CNFT PRO.Té.Gé",
                  "Edition": "AR/GIF",
                  "Twitter": "https://twitter.com/CNFTPRO",
                  "Quantity": "1000",
                  "Copyright": "CNFT PRO.Té.Gé ©",
                  "Publisher": "NFThubs",
                  "Royalties": "5%",
                  "mediaType": "image/gif",
                  "Collection": "CNFT Protégé Collection Series",
                  "description": "CNFT Protégé Medal",
                  "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
                  "Publishers Website": "https://NFThubs.io/"
                }
              }
            }
          },
          {
            "key": "777",
            "json": {
              "pct": "0.75",
              "addr": [
                "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
                "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
              ]
            }
          }
        ]
      },
      {
        "tx_hash": "c3cdb238371519027a0606a7ee5f5feef8577bc2406c0dcc5a7928ec8c21d77a",
        "block_time": 1659088924,
        "quantity": "1",
        "metadata": [
          {
            "key": "721",
            "json": {
              "version": "1.0",
              "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
                "0375": {
                  "name": "0375",
                  "Media": "3D & VR Designs",
                  "Title": "3D CNFT PRO.Té.Gé Medal",
                  "files": [
                    {
                      "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                      "name": "0375",
                      "mediaType": "image/gif"
                    }
                  ],
                  "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "Artist": "CNFT PRO.Té.Gé",
                  "Edition": "AR/GIF",
                  "Twitter": "https://twitter.com/CNFTPRO",
                  "Quantity": "1000",
                  "Copyright": "CNFT PRO.Té.Gé ©",
                  "Publisher": "NFThubs",
                  "Royalties": "5%",
                  "mediaType": "image/gif",
                  "Collection": "CNFT Protégé Collection Series",
                  "description": "CNFT Protégé Medal",
                  "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
                  "Publishers Website": "https://NFThubs.io/"
                }
              }
            }
          },
          {
            "key": "777",
            "json": {
              "pct": "0.75",
              "addr": [
                "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
                "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
              ]
            }
          }
        ]
      },
      {
        "tx_hash": "1529ced98380dd347139abbd91b832be9d3be25aa1f4a2d012a902d5608464f6",
        "block_time": 1659087888,
        "quantity": "1",
        "metadata": [
          {
            "key": "721",
            "json": {
              "version": "1.0",
              "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
                "0375": {
                  "name": "0375",
                  "Media": "3D & VR Designs",
                  "Title": "3D CNFT PRO.Té.Gé Medal",
                  "files": [
                    {
                      "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                      "name": "0375",
                      "mediaType": "image/gif"
                    }
                  ],
                  "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "Artist": "CNFT PRO.Té.Gé",
                  "Edition": "AR/GIF",
                  "Twitter": "https://twitter.com/CNFTPRO",
                  "Quantity": "1000",
                  "Copyright": "CNFT PRO.Té.Gé ©",
                  "Publisher": "NFThubs",
                  "Royalties": "5%",
                  "mediaType": "image/gif",
                  "Collection": "CNFT Protégé Collection Series",
                  "description": "CNFT Protégé Medal",
                  "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
                  "Publishers Website": "https://NFThubs.io/"
                }
              }
            }
          },
          {
            "key": "777",
            "json": {
              "pct": "0.75",
              "addr": [
                "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
                "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
              ]
            }
          }
        ]
      },
      {
        "tx_hash": "4090b3c24c26b8ce19a8d38f0ccdf5b3f78fd7d78223cbb73ee823fdd2dd55a7",
        "block_time": 1659086462,
        "quantity": "1",
        "metadata": [
          {
            "key": "721",
            "json": {
              "version": "1.0",
              "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
                "0375": {
                  "name": "0375",
                  "Media": "3D & VR Designs",
                  "Title": "3D CNFT PRO.Té.Gé Medal",
                  "files": [
                    {
                      "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                      "name": "0375",
                      "mediaType": "image/gif"
                    }
                  ],
                  "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "Artist": "CNFT PRO.Té.Gé",
                  "Edition": "AR/GIF",
                  "Twitter": "https://twitter.com/CNFTPRO",
                  "Quantity": "1000",
                  "Copyright": "CNFT PRO.Té.Gé ©",
                  "Publisher": "NFThubs",
                  "Royalties": "5%",
                  "mediaType": "image/gif",
                  "Collection": "CNFT Protégé Collection Series",
                  "description": "CNFT Protégé Medal",
                  "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
                  "Publishers Website": "https://NFThubs.io/"
                }
              }
            }
          },
          {
            "key": "777",
            "json": {
              "pct": "0.75",
              "addr": [
                "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
                "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
              ]
            }
          }
        ]
      },
      {
        "tx_hash": "97b1d62a83bb517467562b4ebe404c206f0355cb1f8c25a77e0178dd59e85120",
        "block_time": 1659013226,
        "quantity": "1",
        "metadata": [
          {
            "key": "721",
            "json": {
              "version": "1.0",
              "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
                "0375": {
                  "name": "0375",
                  "Media": "3D & VR Designs",
                  "Title": "3D CNFT PRO.Té.Gé Medal",
                  "files": [
                    {
                      "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                      "name": "0375",
                      "mediaType": "image/gif"
                    }
                  ],
                  "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "Artist": "CNFT PRO.Té.Gé",
                  "Edition": "AR/GIF",
                  "Twitter": "https://twitter.com/CNFTPRO",
                  "Quantity": "1000",
                  "Copyright": "CNFT PRO.Té.Gé ©",
                  "Publisher": "NFThubs",
                  "Royalties": "5%",
                  "mediaType": "image/gif",
                  "Collection": "CNFT Protégé Collection Series",
                  "description": "CNFT Protégé Medal",
                  "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
                  "Publishers Website": "https://NFThubs.io/"
                }
              }
            }
          },
          {
            "key": "777",
            "json": {
              "pct": "0.99",
              "addr": [
                "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
                "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
              ]
            }
          }
        ]
      },
      {
        "tx_hash": "1510a7594c2ee4bdead66cacb7c6398d4664594af69fee340e20077a576ee364",
        "block_time": 1659012941,
        "quantity": "1",
        "metadata": [
          {
            "key": "721",
            "json": {
              "version": "1.0",
              "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
                "0375": {
                  "name": "0375",
                  "Media": "3D & VR Designs",
                  "Title": "3D CNFT PRO.Té.Gé Medal",
                  "files": [
                    {
                      "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                      "name": "0375",
                      "mediaType": "image/gif"
                    }
                  ],
                  "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "Artist": "CNFT PRO.Té.Gé",
                  "Edition": "AR/GIF",
                  "Twitter": "https://twitter.com/CNFTPRO",
                  "Quantity": "1000",
                  "Copyright": "CNFT PRO.Té.Gé ©",
                  "Publisher": "NFThubs",
                  "Royalties": "5%",
                  "mediaType": "image/gif",
                  "Collection": "CNFT Protégé Collection Series",
                  "description": "CNFT Protégé Medal",
                  "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
                  "Publishers Website": "https://NFThubs.io/"
                }
              }
            }
          },
          {
            "key": "777",
            "json": {
              "pct": "0.12",
              "addr": [
                "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
                "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
              ]
            }
          }
        ]
      }
    ]
  }
]
  1. Asset info:

Non-royalty:

curl "http://127.0.0.1:8050/rpc/asset_info1?_asset_policy=5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330&_asset_name=30333735"
[
  {
    "policy_id": "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330",
    "asset_name": "30333735",
    "asset_name_ascii": "0375",
    "fingerprint": "asset1faw0wkdnepn6usfpw3p90faaxcg0n5ql4lnsgn",
    "minting_tx_hash": "1510a7594c2ee4bdead66cacb7c6398d4664594af69fee340e20077a576ee364",
    "total_supply": "7",
    "mint_cnt": 7,
    "burn_cnt": 0,
    "creation_time": 1659012941,
    "minting_tx_metadata": [
      {
        "key": "721",
        "json": {
          "version": "1.0",
          "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
            "0375": {
              "name": "0375",
              "Media": "3D & VR Designs",
              "Title": "3D CNFT PRO.Té.Gé Medal",
              "files": [
                {
                  "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "name": "0375",
                  "mediaType": "image/gif"
                }
              ],
              "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
              "Artist": "CNFT PRO.Té.Gé",
              "Edition": "AR/GIF",
              "Twitter": "https://twitter.com/CNFTPRO",
              "Quantity": "1000",
              "Copyright": "CNFT PRO.Té.Gé ©",
              "Publisher": "NFThubs",
              "Royalties": "5%",
              "mediaType": "image/gif",
              "Collection": "CNFT Protégé Collection Series",
              "description": "CNFT Protégé Medal",
              "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
              "Publishers Website": "https://NFThubs.io/"
            }
          }
        }
      },
      {
        "key": "777",
        "json": {
          "pct": "0.75",
          "addr": [
            "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
            "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
          ]
        }
      }
    ],
    "token_registry_metadata": null
  }
]

Royalty:

curl "http://127.0.0.1:8050/rpc/asset_info1?_asset_policy=5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330"
[
  {
    "policy_id": "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330",
    "asset_name": "",
    "asset_name_ascii": "",
    "fingerprint": "asset14u67xrajdcjn2n9e3q5m9zykt5yrs78sve8qxl",
    "minting_tx_hash": "1510a7594c2ee4bdead66cacb7c6398d4664594af69fee340e20077a576ee364",
    "total_supply": "7",
    "mint_cnt": 7,
    "burn_cnt": 0,
    "creation_time": 1659012941,
    "minting_tx_metadata": [
      {
        "key": "721",
        "json": {
          "version": "1.0",
          "5873e09ab65389ce8249a4dbd401f14bb2149f29b9e5a05d5ba47330": {
            "0375": {
              "name": "0375",
              "Media": "3D & VR Designs",
              "Title": "3D CNFT PRO.Té.Gé Medal",
              "files": [
                {
                  "src": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
                  "name": "0375",
                  "mediaType": "image/gif"
                }
              ],
              "image": "ipfs://QmNsGMmhqzNV5f36g4mSuDGBpcAAiGCAqz8y7gRvQExRmh",
              "Artist": "CNFT PRO.Té.Gé",
              "Edition": "AR/GIF",
              "Twitter": "https://twitter.com/CNFTPRO",
              "Quantity": "1000",
              "Copyright": "CNFT PRO.Té.Gé ©",
              "Publisher": "NFThubs",
              "Royalties": "5%",
              "mediaType": "image/gif",
              "Collection": "CNFT Protégé Collection Series",
              "description": "CNFT Protégé Medal",
              "Unlock Feature": "Holders will have access to exclusive CNFT Air Drops",
              "Publishers Website": "https://NFThubs.io/"
            }
          }
        }
      },
      {
        "key": "777",
        "json": {
          "pct": "0.75",
          "addr": [
            "addr_test1qrqppj2vjwa7v55r9yafj3n3nwf80ve95z4s0eu8k7",
            "zh9wkp28sfx99tcvp3ats0g59vfuam4jz3hx284dr9zseag75qnzymfz"
          ]
        }
      }
    ],
    "token_registry_metadata": null
  }
]

@maxee

from koios-artifacts.

maxee avatar maxee commented on June 3, 2024 1

@dostrelith678 Looks good to me, yeah! :) The Asset information returns the metadata from the latest mint right? :)

from koios-artifacts.

BlockchainArtWorks avatar BlockchainArtWorks commented on June 3, 2024

Another example of issue shown below.

Using the following Koios asset information end-point:

curl -X GET "https://api.koios.rest/api/v0/asset_info?_asset_policy=1683a511eaa5dfcfb1665cc56d9f5f9fb8fcebb7a52cd63597403a47&_asset_name=3634424c58323239303035" -H "Accept: application/json"

The following response is obatined:

[
  {
    "policy_id": "1683a511eaa5dfcfb1665cc56d9f5f9fb8fcebb7a52cd63597403a47",
    "asset_name": "3634424c58323239303035",
    "asset_name_ascii": "64BLX229005",
    "fingerprint": "asset1lc7n2recjq44zyvtsq449yr99x2pe2vlc0dy9t",
    "minting_tx_hash": "ad46e5a968f2c6406a49a40cdb5ee7ea2713e49ad8329bce68180ba74d912b14",
    "total_supply": "1",
    "mint_cnt": 2,
    "burn_cnt": 1,
    "creation_time": "2021-11-25T22:39:08",
    "minting_tx_metadata": {
      "key": "721",
      "json": {
        "1683a511eaa5dfcfb1665cc56d9f5f9fb8fcebb7a52cd63597403a47": {
          "64BLX229005": {
            "name": "64-BLOCKS #229-005",
            "files": [
              {
                "src": "ipfs://QmTqgJzWYwFnG6Y73KfpcPCkpkdAAxb8bWk4KzHADVfVfM", <---- first mint IPFS URI
                "mediaType": "text/html"
              }
            ],
            "image": "ipfs://QmPXDNvAiZ2Vp3De3pd7w5Dfnk5tHbfcnBiMnVV1AqYnaY",
            "mediaType": "image/png",
            "Description": [
              "Generated using raw Cardano blockchain data",
              "Interactive | Customisable | Animated | Decorative Digital NFT",
              "-",
              "A Cardano Blockchain Art Works Project © 2021",
              "https://buy.blockchainart.works"
            ]
          }
        }
      }
    },
    "token_registry_metadata": null
  }
]

As can be seen in the NFT's Mint transaction tab on cardanoscan.io, there was an:

(1) Original Mint,
(2) Re-mint w/ new metadata,
(3) NFT burn of the new mint.

The final metadata is as follows, as can be seen on pool.pm:

{
  "721": {
    "1683a511eaa5dfcfb1665cc56d9f5f9fb8fcebb7a52cd63597403a47": {
      "64BLX229005": {
        "Description": [
          "Generated using raw Cardano blockchain data",
          "Interactive | Customisable | Animated | Decorative Digital NFT",
          "-",
          "A Cardano Blockchain Art Works Project © 2021",
          "https://buy.blockchainart.works",
          "-",
          "Personalised on 1st of December 2021 (v2.0)"
        ],
        "files": [
          {
            "mediaType": "text/html",
            "src": "ipfs://QmXSazPgZDvT6E5KVHPRdYJFJtShcKqWQtTpjBhycPyhzE" <--- updated mint IPFS URI
          }
        ],
        "image": "ipfs://QmPXDNvAiZ2Vp3De3pd7w5Dfnk5tHbfcnBiMnVV1AqYnaY",
        "mediaType": "image/png",
        "name": "64-BLOCKS #229-005"
      }
    }
  }
}

from koios-artifacts.

Scitz0 avatar Scitz0 commented on June 3, 2024

A related issue to this one was opened on the guild operators branch. In addition to changing from first to latest mint tx metadata, there is also a problem with current code that it only returns a single metadata label. So if the minting tx had a more complex metadata attached with multiple labels, all data is not returned.

See here for a solution to the latter problem: cardano-community/guild-operators#1467 (comment)

Another option would be to return an array with all minting metadata and tx block time as ref if you want the entire history for an asset. I know some projects have used mint->burn->mint pattern to evolve an NFT through different life stages. Returning all minting metadata would allow a consumer of Koios to display this evolving process.

from koios-artifacts.

rdlrt avatar rdlrt commented on June 3, 2024

Latest update from discussion:

  • asset_info to retain latest mint transaction information (in line with most asset-related CIPs as well as pool metadata - latest valid meta being live one)
  • asset_history to get addition for all the previous mint transactions

from koios-artifacts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.