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)| Parameter | Type | Required | Description |
|---|---|---|---|
smartAssetId | String | ✅ | 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)| Parameter | Type | Required | Description |
|---|---|---|---|
smartAssetId | String | ✅ | 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)| Parameter | Type | Required | Description |
|---|---|---|---|
smartAssetId | String | ✅ | Target NFT identification number. |
isMissing | Boolean | ✅ | true: Set the status as missing.false: Unset the missing status. |
overrides | gasPrice, 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)| Parameter | Type | Required | Description |
|---|---|---|---|
smartAssetId | String | ✅ | Target NFT identification number. |
isStolen | Boolean | ✅ | true: Set the status as stolen.false: Unset the stolen status. |
overrides | gasPrice, 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.
Updated over 1 year ago
Did this page help you?
