Smart Contracts

Module: inventory
back to overview
inventory
Methods: 19
Instances: 1
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "trader": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "creator": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<AccountAddress>"
        ]
      }
    ]
  },
  "royalty_percent": "<UInt64>",
  "token_id": "<UInt64>",
  "url": "<String>",
  "value": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "common": {
    "lot_id": "<UInt64>",
    "sender": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "token_id": "<UInt64>",
    "value": "<UInt64>"
  },
  "from": "<AccountAddress>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
[
  {
    "amount": "<String of size at most 74 containing an unsigned integer.>",
    "data": "<String with lowercase hex>",
    "from": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "to": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            },
            "<String>"
          ]
        }
      ]
    },
    "token_id": "<String with lowercase hex>"
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "from": "<AccountAddress>",
  "to": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<AccountAddress>"
        ]
      }
    ]
  },
  "token_id": "<UInt64>",
  "value": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "from": "<AccountAddress>",
  "to": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<AccountAddress>"
        ]
      }
    ]
  },
  "token_transfers": [
    [
      "<UInt64>",
      "<UInt64>"
    ]
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "add": "<Bool>",
  "common": {
    "lot_id": "<UInt64>",
    "sender": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "token_id": "<UInt64>",
    "value": "<UInt64>"
  },
  "delta": "<UInt64>",
  "price": "<Amount in microCCD>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "lot_id": "<UInt64>",
  "sender": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token_id": "<UInt64>",
  "value": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "lot_id": "<UInt64>",
  "sender": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token_id": "<UInt64>",
  "value": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "approved": "<Bool>",
  "operator": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "amount": "<Amount in microCCD>",
  "lot_id": "<UInt64>",
  "quantity": "<UInt64>",
  "sender": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token_id": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
{
  "amount": "<Amount in microCCD>",
  "creator": "<AccountAddress>",
  "lot_id": "<UInt64>",
  "quantity": "<UInt64>",
  "royalty_percent": "<UInt64>",
  "sender": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token_id": "<UInt64>"
}

Parameters
[
  {
    "operator": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "update": {
      "Enum": [
        {
          "Remove": []
        },
        {
          "Add": []
        }
      ]
    }
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
[
  {
    "address": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "owner": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    }
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  "<Bool>"
]

Parameters
[
  {
    "address": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "token_id": "<String with lowercase hex>"
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  "<String of size at most 74 containing an unsigned integer.>"
]

Parameters
[
  "<String with lowercase hex>"
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String of size 64 containing lowercase hex characters.>"
          ]
        }
      ]
    },
    "url": "<String>"
  }
]

Parameters
[
  "<String>"
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  {
    "Enum": [
      {
        "NoSupport": []
      },
      {
        "Support": []
      },
      {
        "SupportBy": [
          [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        ]
      }
    ]
  }
]

Parameters
None
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
{
  "contract_adresses": [
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    }
  ]
}

Parameters
{
  "contract_adresses": [
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    }
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "contract_adresses": [
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    }
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "NonContractAddress": []
            },
            {
              "NonAccountAddress": []
            },
            {
              "TokenAlreadyExists": []
            },
            {
              "TokenNotFound": []
            },
            {
              "PermissionDenied": []
            },
            {
              "HighTaxPercent": []
            },
            {
              "HighRoyaltyPercent": []
            },
            {
              "IncorrectPrice": []
            },
            {
              "IncorrectAmount": []
            },
            {
              "LotNotFound": []
            },
            {
              "IncorrectValue": []
            },
            {
              "TokenNotOnSale": []
            },
            {
              "LowTokenBalance": []
            },
            {
              "IncorrectTimestamp": []
            },
            {
              "AuctionStarted": []
            },
            {
              "AuctionClosed": []
            },
            {
              "AuctionActive": []
            },
            {
              "LowQuantity": []
            },
            {
              "IncorrectQuantity": []
            },
            {
              "InvokeContractError": []
            },
            {
              "TransferError": []
            }
          ]
        }
      ]
    }
  ]
}
Return
{
  "contract_adresses": [
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    }
  ]
}
Address
🗎<9373,0>


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