Declare as Missing or Stolen

The NFT issuer can declare a product as missing or stolen.

๐Ÿ’ก

  • If you set a digital passport as stolen, the missing status is automatically set as true.
  • If you unset a digital passport stolen status, the missing status is not automatically set as false.

Check if NFT status is set as missing

Method.

creator.protocolV1.arianeeLost.isMissing(smartAssetId)
ParameterTypeRequiredDescription
smartAssetIdStringโœ…NFT identification number.

Return Payload

promise returns the NFT missing status with boolean:

  • true: the NFT status is set as missing.
  • false: the NFT status is not set as missing.

Check if NFT status is set as stolen

Method

creator.protocolV1.arianeeLost.isStolen(smartAssetId)
ParameterTypeRequiredDescription
smartAssetIdStringโœ…NFT identification number.

Return Payload

promise returns the NFT missing status with boolean:

  • true: the NFT status is set as stolen.
  • false: the NFT status is not set as stolen.

Set or unset missing status

Method

creator.protocolV1.arianeeLost.setMissingStatus(smartAssetId,isMissing,overrides)
ParameterTypeRequiredDescription
smartAssetIdStringโœ…Target NFT identification number.
isMissingBooleanโœ…true: Set the status as missing.
false: Unset the missing status.
overridesgasPrice, gasLimit, maxFeePerGas, maxPriorityPerGasโŒAllows you to override the gas/gasprice part to be able to move transactions through more quickly if needed.

Return Payload

promise returns the smartAssetId and the new missing status of the NFT.


Set or unset stolen status

Method

creator.protocolV1.arianeeLost.setStolenStatus(smartAssetId,isMissing,overrides)
ParameterTypeRequiredDescription
smartAssetIdStringโœ…Target NFT identification number.
isStolenBooleanโœ…true: Set the status as stolen.
false: Unset the stolen status.
overridesgasPrice, gasLimit, maxFeePerGas, maxPriorityPerGasโŒAllows you to override the gas/gasprice part to be able to move transactions through more quickly if needed.

Return Payload

promise returns the smartAssetId and the new stolen status of the NFT.