Smart Contracts (Testnet)

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

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

Parameters
None
Errors
None
Return
{
  "batches": [
    [
      "<UInt32>",
      {
        "description": "<String>",
        "id": "<UInt32>",
        "log_string": "<String>",
        "name": "<String>",
        "tag_ids": [
          {
            "is_transferred": "<Bool>",
            "log_string": "<String>",
            "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
"<UInt8>"
Errors
None
Return
{
  "description": "<String>",
  "id": "<UInt32>",
  "log_string": "<String>",
  "name": "<String>",
  "tag_ids": [
    {
      "is_transferred": "<Bool>",
      "log_string": "<String>",
      "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>",
  "log_string": "<String>",
  "name": "<String>",
  "tag_ids": [
    {
      "is_transferred": "<Bool>",
      "log_string": "<String>",
      "tag_id": "<String of size 64 containing lowercase hex characters.>"
    }
  ]
}

Parameters
{
  "batch_id": "<UInt32>",
  "description": "<String>",
  "log_string": "<String>",
  "name": "<String>",
  "tag_ids": [
    "<String of size 64 containing lowercase hex characters.>"
  ]
}
Errors
None
Return
None

Parameters
{
  "batch_id": "<UInt32>",
  "log_string": "<String>"
}
Errors
None
Return
None

Parameters
{
  "log_string": "<String>",
  "number": "<UInt32>",
  "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_string": "<String>",
  "new_owner": "<AccountAddress>",
  "tag_id": "<String of size 64 containing lowercase hex characters.>"
}
Errors
None
Return
None
Address
🗎<4570,0>


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