Smart Contracts (Testnet)

Module: afzal-nft-marketplace
back to overview
afzal-nft-marketplace
Methods: 6
Instances: 1
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
{
  "is_insurance": "<Bool>",
  "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
{
  "is_insurance": "<Bool>",
  "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
🗎<7952,0>


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