---
updatedAt: 2025-05-19T20:52:17.000Z
agentTools:
  projectIndex: https://docs.arianee.org/llms.txt
---

# Declare as Missing or Stolen

The digital passport 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 digital passport status is set as missing

#### Method.

```javascript Method
creator.protocolV1.arianeeLost.isMissing(smartAssetId)
```

| Parameter      | Type   | Required | Description                             |
| :------------- | :----- | :------- | :-------------------------------------- |
| `smartAssetId` | String | ✅        | Digital passport identification number. |

#### Return Payload

`promise` returns the digital passport missing status with `boolean`:

* `true`: the digital passport status is set as missing.
* `false`: the digital passport status is not set as missing.

***

## Check if digital passport status is set as stolen

#### Method

```javascript Method
creator.protocolV1.arianeeLost.isStolen(smartAssetId)
```

| Parameter      | Type   | Required | Description                             |
| :------------- | :----- | :------- | :-------------------------------------- |
| `smartAssetId` | String | ✅        | Digital passport identification number. |

#### Return Payload

`promise` returns the digital passport missing status with `boolean`:

* `true`: the digital passport status is set as stolen.
* `false`: the digital passport status is not set as stolen.

***

## Set or unset missing status

#### Method

```javascript Method
creator.protocolV1.arianeeLost.setMissingStatus(smartAssetId,isMissing,overrides)
```

<Table align={["left","left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Required
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `smartAssetId`
      </td>

      <td>
        String
      </td>

      <td>
        ✅
      </td>

      <td>
        Target digital passport identification number.
      </td>
    </tr>

    <tr>
      <td>
        `isMissing`
      </td>

      <td>
        Boolean
      </td>

      <td>
        ✅
      </td>

      <td>
        `true`: Set the status as missing.\
        `false`: Unset the missing status.
      </td>
    </tr>

    <tr>
      <td>
        `overrides`
      </td>

      <td>
        `gasPrice`, `gasLimit`, `maxFeePerGas`, `maxPriorityPerGas`
      </td>

      <td>
        ❌
      </td>

      <td>
        Allows you to override the gas/gasprice part to be able to move transactions through more quickly if needed.
      </td>
    </tr>
  </tbody>
</Table>

#### Return Payload

`promise` returns the `smartAssetId` and the new missing status of the digital passport.

***

## Set or unset stolen status

#### Method

```javascript Method
creator.protocolV1.arianeeLost.setStolenStatus(smartAssetId,isMissing,overrides)
```

<Table align={["left","left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Required
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `smartAssetId`
      </td>

      <td>
        String
      </td>

      <td>
        ✅
      </td>

      <td>
        Target digital passport identification number.
      </td>
    </tr>

    <tr>
      <td>
        `isStolen`
      </td>

      <td>
        Boolean
      </td>

      <td>
        ✅
      </td>

      <td>
        `true`: Set the status as stolen.\
        `false`: Unset the stolen status.
      </td>
    </tr>

    <tr>
      <td>
        `overrides`
      </td>

      <td>
        `gasPrice`, `gasLimit`, `maxFeePerGas`, `maxPriorityPerGas`
      </td>

      <td>
        ❌
      </td>

      <td>
        Allows you to override the gas/gasprice part to be able to move transactions through more quickly if needed.
      </td>
    </tr>
  </tbody>
</Table>

#### Return Payload

`promise` returns the `smartAssetId` and the new stolen status of the digital passport.