Smart Contracts (Testnet)

Module: market
back to overview
market
Methods: 2
Instances: 2
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "image_url": "<String>",
  "name": "<String>",
  "price": "<UInt64>",
  "total_supply": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    }
  ]
}
Return
None

Parameters
[
  "<UInt64>"
]
Errors
None
Return
[
  {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "creator": {
              "Enum": [
                {
                  "Account": [
                    "<AccountAddress>"
                  ]
                },
                {
                  "Contract": [
                    {
                      "index": "<UInt64>",
                      "subindex": "<UInt64>"
                    }
                  ]
                }
              ]
            },
            "image_url": "<String>",
            "name": "<String>",
            "owners": [
              {
                "Enum": [
                  {
                    "Account": [
                      "<AccountAddress>"
                    ]
                  },
                  {
                    "Contract": [
                      {
                        "index": "<UInt64>",
                        "subindex": "<UInt64>"
                      }
                    ]
                  }
                ]
              }
            ],
            "price": "<UInt64>",
            "sold": "<UInt64>",
            "total_supply": "<UInt64>"
          }
        ]
      }
    ]
  }
]


Release: 2024.12
Support CCDExplorer.io Uptime Backend Status CCDExplorer is supported by AesirX - Decentralized Consent & Data Ownership