PIN Data Structure
The MAN indexer extracts MetaID protocol data from the reveal scripts of Taproot transactions. For detailed protocol information, please refer to the MetaID Specification section.
PIN Data Structure
PIN Indexing Rules
General
Flag Recognition: The flag is
metaid
.Case Sensitivity: Case insensitive. The indexer can store all data in lowercase.
Operation
The
pinid
of aninit
type PIN is a user'sMetaID
.init
andcreate
operations follow the first-come, first-served principle.Within the same block, the order of
init
andcreate
operations is not distinguished. The indexer should processinit
type PINs first to establish themetaid
.
Path
For the same path,
init
andcreate
PINs are indexed by the oldest entry, whilemodify
andrevoke
operations consider the most recent entry.modify
andrevoke
operations must act on already included PINs. These operations are valid only for already included PINs, even within the same block.Non-
init
PIN paths must fall within the following default paths for a MetaID:(1) /info
(2) /protocols
(3) /file
(4) /ft
(5) /nft
(6) /follow
Paths for
modify
andrevoke
operations should specify the target PIN using@pinId
.
PIN Status Codes
For more information, please refer to the MAN source code:
Last updated