Smart Contracts (Testnet)

Module: cubicus-nft-marketplace
back to overview
cubicus-nft-marketplace
Methods: 6
Instances: 0
Initialization

Parameters
{
  "admin_address": "<AccountAddress>",
  "commission": "<UInt16>"
}
Errors
None
Event
None
Methods

Parameters
{
  "admin_address": "<AccountAddress>",
  "commission": "<UInt16>"
}
Errors
None
Return
None

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
[
  {
    "amount": "<Amount in microCCD>",
    "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
{
  "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
{
  "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
{
  "admin_address": "<AccountAddress>",
  "tokens": [
    [
      {
        "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
🗎<10172,0>


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