0

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

2 Answers 2

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.

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
  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) the current slot to determine if the policy is locked or not.
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.