Smart Contracts (Testnet)

Module: Market-NFT-1
back to overview
Market-NFT-1
Methods: 5
Instances: 1
Initialization

Parameters
{
  "commission": "<UInt16>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "CalledByAContract": []
    },
    {
      "TokenNotListed": []
    },
    {
      "Cis2ClientError": [
        {
          "Enum": [
            {
              "InvokeContractError": []
            },
            {
              "ParseParams": []
            },
            {
              "ParseResult": []
            },
            {
              "CollectionNotCis2": []
            }
          ]
        }
      ]
    },
    {
      "InvalidAmountPaid": []
    },
    {
      "InvokeTransferError": []
    },
    {
      "NoBalance": []
    },
    {
      "InvalidCommission": []
    },
    {
      "InvalidTokenQuantity": []
    },
    {
      "InvalidRoyalty": []
    },
    {
      "TokenNotInCustody": []
    },
    {
      "CalledByAnAccount": []
    }
  ]
}
Event
None
Methods

Parameters
{
  "cis_contract_address": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "price": "<Amount in microCCD>",
  "royalty": "<UInt16>",
  "token_id": "<String with lowercase hex>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "CalledByAContract": []
    },
    {
      "TokenNotListed": []
    },
    {
      "Cis2ClientError": [
        {
          "Enum": [
            {
              "InvokeContractError": []
            },
            {
              "ParseParams": []
            },
            {
              "ParseResult": []
            },
            {
              "CollectionNotCis2": []
            }
          ]
        }
      ]
    },
    {
      "InvalidAmountPaid": []
    },
    {
      "InvokeTransferError": []
    },
    {
      "NoBalance": []
    },
    {
      "InvalidCommission": []
    },
    {
      "InvalidTokenQuantity": []
    },
    {
      "InvalidRoyalty": []
    },
    {
      "TokenNotInCustody": []
    },
    {
      "CalledByAnAccount": []
    }
  ]
}
Return
None

Parameters
{
  "cis_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
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "CalledByAContract": []
    },
    {
      "TokenNotListed": []
    },
    {
      "Cis2ClientError": [
        {
          "Enum": [
            {
              "InvokeContractError": []
            },
            {
              "ParseParams": []
            },
            {
              "ParseResult": []
            },
            {
              "CollectionNotCis2": []
            }
          ]
        }
      ]
    },
    {
      "InvalidAmountPaid": []
    },
    {
      "InvokeTransferError": []
    },
    {
      "NoBalance": []
    },
    {
      "InvalidCommission": []
    },
    {
      "InvalidTokenQuantity": []
    },
    {
      "InvalidRoyalty": []
    },
    {
      "TokenNotInCustody": []
    },
    {
      "CalledByAnAccount": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "CalledByAContract": []
    },
    {
      "TokenNotListed": []
    },
    {
      "Cis2ClientError": [
        {
          "Enum": [
            {
              "InvokeContractError": []
            },
            {
              "ParseParams": []
            },
            {
              "ParseResult": []
            },
            {
              "CollectionNotCis2": []
            }
          ]
        }
      ]
    },
    {
      "InvalidAmountPaid": []
    },
    {
      "InvokeTransferError": []
    },
    {
      "NoBalance": []
    },
    {
      "InvalidCommission": []
    },
    {
      "InvalidTokenQuantity": []
    },
    {
      "InvalidRoyalty": []
    },
    {
      "TokenNotInCustody": []
    },
    {
      "CalledByAnAccount": []
    }
  ]
}
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>"
    }
  ]
]

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "CalledByAContract": []
    },
    {
      "TokenNotListed": []
    },
    {
      "Cis2ClientError": [
        {
          "Enum": [
            {
              "InvokeContractError": []
            },
            {
              "ParseParams": []
            },
            {
              "ParseResult": []
            },
            {
              "CollectionNotCis2": []
            }
          ]
        }
      ]
    },
    {
      "InvalidAmountPaid": []
    },
    {
      "InvokeTransferError": []
    },
    {
      "NoBalance": []
    },
    {
      "InvalidCommission": []
    },
    {
      "InvalidTokenQuantity": []
    },
    {
      "InvalidRoyalty": []
    },
    {
      "TokenNotInCustody": []
    },
    {
      "CalledByAnAccount": []
    }
  ]
}
Return
[
  {
    "contract": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "owner": "<AccountAddress>",
    "quantity": "<String of size at most 74 containing an unsigned integer.>",
    "token_id": "<String with lowercase hex>"
  }
]

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "CalledByAContract": []
    },
    {
      "TokenNotListed": []
    },
    {
      "Cis2ClientError": [
        {
          "Enum": [
            {
              "InvokeContractError": []
            },
            {
              "ParseParams": []
            },
            {
              "ParseResult": []
            },
            {
              "CollectionNotCis2": []
            }
          ]
        }
      ]
    },
    {
      "InvalidAmountPaid": []
    },
    {
      "InvokeTransferError": []
    },
    {
      "NoBalance": []
    },
    {
      "InvalidCommission": []
    },
    {
      "InvalidTokenQuantity": []
    },
    {
      "InvalidRoyalty": []
    },
    {
      "TokenNotInCustody": []
    },
    {
      "CalledByAnAccount": []
    }
  ]
}
Return
None
Address
🗎<5467,0>


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