Smart Contracts

Module: Climafi-Carbon-NFT-Market
back to overview
Climafi-Carbon-NFT-Market
Methods: 4
Instances: 0
Initialization

Parameters
{
  "commission": "<UInt16>"
}
Errors
None
Event
{
  "Enum": [
    {
      "Transfer": {
        "owner": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "quantity": "<String of size at most 74 containing an unsigned integer.>",
        "token_id": "<String with lowercase hex>"
      }
    },
    {
      "Remove": {
        "address": {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        },
        "owner": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "token_id": "<String with lowercase hex>"
      }
    },
    {
      "Add": {
        "address": {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        },
        "owner": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "price": "<Amount in microCCD>",
        "quantity": "<String of size at most 74 containing an unsigned integer.>",
        "royalty": "<UInt16>",
        "token_id": "<String with lowercase hex>"
      }
    }
  ]
}
Methods

Parameters
{
  "nft_contract_address": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "price": "<Amount in microCCD>",
  "quantity": "<String of size at most 74 containing an unsigned integer.>",
  "royalty": "<UInt16>",
  "token_id": "<String with lowercase hex>"
}
Errors
None
Return
None

Parameters
{
  "nft_contract_address": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "owner": "<AccountAddress>",
  "token_id": "<String with lowercase hex>"
}
Errors
None
Return
None

Parameters
{
  "nft_contract_address": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "owner": "<AccountAddress>",
  "quantity": "<String of size at most 74 containing an unsigned integer.>",
  "to": "<AccountAddress>",
  "token_id": "<String with lowercase hex>"
}
Errors
None
Return
None

Parameters
None
Errors
None
Return
[
  [
    {
      "contract": {
        "index": "<UInt64>",
        "subindex": "<UInt64>"
      },
      "owner": "<AccountAddress>",
      "price": "<Amount in microCCD>",
      "primary_owner": "<AccountAddress>",
      "quantity": "<String of size at most 74 containing an unsigned integer.>",
      "royalty": "<UInt16>",
      "token_id": "<String with lowercase hex>"
    }
  ]
]
Address
🗎<9335,0>


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