Smart Contracts (Testnet)

Module: Provenance-tag
back to overview
Provenance-tag
Methods: 8
Instances: 5
Initialization

Parameters
{
  "product_id": "<UInt32>",
  "product_name": "<String>"
}
Errors
None
Event
None
Methods

Parameters
None
Errors
None
Return
{
  "batches": [
    [
      "<UInt32>",
      {
        "description": "<String>",
        "id": "<UInt32>",
        "logs": [
          {
            "is_hashed": "<Bool>",
            "log_string": "<String>",
            "ts": "<UInt64>"
          }
        ],
        "name": "<String>",
        "tags": [
          {
            "is_transferred": "<Bool>",
            "logs": [
              {
                "is_hashed": "<Bool>",
                "log_string": "<String>",
                "ts": "<UInt64>"
              }
            ],
            "tag_id": "<String of size 64 containing lowercase hex characters.>"
          }
        ]
      }
    ]
  ],
  "owner": "<AccountAddress>",
  "product_id": "<UInt32>",
  "product_name": "<String>",
  "provenance_tag_nft_smart_contract": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}

Parameters
"<UInt32>"
Errors
None
Return
{
  "description": "<String>",
  "id": "<UInt32>",
  "logs": [
    {
      "is_hashed": "<Bool>",
      "log_string": "<String>",
      "ts": "<UInt64>"
    }
  ],
  "name": "<String>",
  "tags": [
    {
      "is_transferred": "<Bool>",
      "logs": [
        {
          "is_hashed": "<Bool>",
          "log_string": "<String>",
          "ts": "<UInt64>"
        }
      ],
      "tag_id": "<String of size 64 containing lowercase hex characters.>"
    }
  ]
}

Parameters
"<String of size 64 containing lowercase hex characters.>"
Errors
None
Return
{
  "description": "<String>",
  "id": "<UInt32>",
  "logs": [
    {
      "is_hashed": "<Bool>",
      "log_string": "<String>",
      "ts": "<UInt64>"
    }
  ],
  "name": "<String>",
  "tags": [
    {
      "is_transferred": "<Bool>",
      "logs": [
        {
          "is_hashed": "<Bool>",
          "log_string": "<String>",
          "ts": "<UInt64>"
        }
      ],
      "tag_id": "<String of size 64 containing lowercase hex characters.>"
    }
  ]
}

Parameters
{
  "batch_id": "<UInt32>",
  "description": "<String>",
  "logs": [
    {
      "is_hashed": "<Bool>",
      "log_string": "<String>",
      "ts": "<UInt64>"
    }
  ],
  "name": "<String>",
  "tags": [
    {
      "logs": [
        {
          "is_hashed": "<Bool>",
          "log_string": "<String>",
          "ts": "<UInt64>"
        }
      ],
      "tag_id": "<String of size 64 containing lowercase hex characters.>"
    }
  ]
}
Errors
None
Return
None

Parameters
{
  "batch_id": "<UInt32>",
  "log": {
    "is_hashed": "<Bool>",
    "log_string": "<String>",
    "ts": "<UInt64>"
  }
}
Errors
None
Return
None

Parameters
{
  "batch_id": "<UInt32>",
  "log": {
    "is_hashed": "<Bool>",
    "log_string": "<String>",
    "ts": "<UInt64>"
  },
  "tag_id": "<String of size 64 containing lowercase hex characters.>"
}
Errors
None
Return
None

Parameters
{
  "address": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Return
None

Parameters
{
  "additional_data": [
    "<UInt8>"
  ],
  "batch_id": "<UInt32>",
  "log": {
    "is_hashed": "<Bool>",
    "log_string": "<String>",
    "ts": "<UInt64>"
  },
  "new_owner": "<AccountAddress>",
  "tag_id": "<String of size 64 containing lowercase hex characters.>"
}
Errors
None
Return
None


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