<p>You need to have the original script policy to see the lock status (see these <em>slot</em> and <em>before</em>).</p>
<pre><code>$ cat policy.script
{ &quot;type&quot;: &quot;all&quot;, &quot;scripts&quot;: [ { &quot;slot&quot;: 24285375, &quot;type&quot;: &quot;before&quot; }, { &quot;keyHash&quot;: &quot;e97316c52c85eab276fd40feacf78bc5eff74e225e744567140070c3&quot;, &quot;type&quot;: &quot;sig&quot; } ] }
</code></pre>
<p>From that, you can calculate the policy id of it.</p>
<pre><code>$ cardano-cli transaction policyid --script-file ./policy.script
00000002df633853f6a47465c9496721d2d5b1291b8398016c0e87ae
</code></pre>
<p>There is no way to reverse this process. You really need to original minting policy.</p>

CC BY-SA 4.0
2021-12-21T14:33:28.770Z
2021-12-21T14:33:28.770Z
Marek Mahut - StakeNuts
<p>Agree with @Marek, although there is a manual way to do it.</p>
<p>Let's try the policy of Spacebudz:</p>
<ol>
<li>You can find the policy in <a href="https://cardanoscan.io/tokenPolicy/d5e6bf0500378d4f0da4e8dde6becec7621cd8cbf5cbb9b87013d4cc" rel="nofollow noreferrer">cardano scan</a></li>
<li>Go to the <em>small script</em> button at the left side of the policy id.</li>
<li>You can check there the <code>invalidAfter</code> slot</li>
<li>Using that slot, you can check in any tool (i.e. <code>cardano-cli</code> or <a href="https://explorer.cardano.org/en" rel="nofollow noreferrer">explorer.cardano.org</a>) the current slot to determine if the policy is locked or not.</li>
</ol>

CC BY-SA 4.0
2021-12-22T15:35:48.237Z
2021-12-22T15:35:48.237Z
georgeos
<p>How can I check the NFT timelock status, besides pool.pm?</p>

<cardano-cli><nft><cardano-serialization-lib>
How to check the NFT timelock status?
# How to check the NFT timelock status?

(Asked by: username_0 on 2021-12-20)

How can I check the NFT timelock status, besides pool.pm?

**Tags:** cardano-cli, nft, cardano-serialization-lib

---

## 2 answers

### Answer by username_1 on 2021-12-21. Score: 0

You need to have the original script policy to see the lock status (see these slot and before).
$ cat policy.script
{ "type": "all", "scripts": [ { "slot": 24285375, "type": "before" }, { "keyHash": "e97316c52c85eab276fd40feacf78bc5eff74e225e744567140070c3", "type": "sig" } ] }

From that, you can calculate the policy id of it.
$ cardano-cli transaction policyid --script-file ./policy.script
00000002df633853f6a47465c9496721d2d5b1291b8398016c0e87ae

There is no way to reverse this process. You really need to original minting policy.


---

### Answer by username_2 on 2021-12-22. Score: 0

Agree with @Marek, although there is a manual way to do it.

Let's try the policy of Spacebudz:

1. You can find the policy in [cardano scan](https://cardanoscan.io/tokenPolicy/d5e6bf0500378d4f0da4e8dde6becec7621cd8cbf5cbb9b87013d4cc)
2. Go to the *small script* button at the left side of the policy id.
3. You can check there the `invalidAfter` slot
4. Using that slot, you can check in any tool (i.e. `cardano-cli` or [explorer.cardano.org](https://explorer.cardano.org/en)) the current slot to determine if the policy is locked or not.


---

