Generic data anchor. Validates at least one typed parameter is present. Used to commit arbitrary structured data on-chain for attestations, timestamping, and data anchoring.
AnchorInvertible
Ladder Diagram
Fields
Field
Data Type
Size
Side
Description
field[0..N]
Any
Variable
Conditions
At least one typed field required. Accepts any field type (NUMERIC, HASH256, PUBKEY, etc.).
No witness fields required. The anchor block only validates that structured data is present in the conditions.
Wire Format Breakdown
Variable size. Minimum: header + one field.
0x05010NFIELD · varConditions = 4 + field bytes
0x050100Witness = 4 bytes (empty block)
Total (minimum)~12 bytes
Evaluation Logic
1.Read all typed fields from the conditions block
2.If fields is empty → ERROR
3.Otherwise → SATISFIED
Return Values
Condition
Result
No fields present (empty conditions)
ERROR
At least one typed field present
SATISFIED
JSON Wire Format
Conditions (generic data anchor with hash + timestamp)
This anchors a document hash alongside a Unix timestamp, committing both values on-chain.
Use Cases
On-chain Attestations
Commit structured data on-chain as a tamper-proof record. Any combination of field types can be anchored, creating verifiable attestations without requiring custom block types.
Data Anchoring
Hash a document, dataset, or state snapshot and anchor it in a transaction. The blockchain provides an immutable timestamp proof that the data existed at a specific block height.
Timestamping
Commit a hash with a numeric timestamp field to create a provable record of when data was committed. Useful for intellectual property proofs, audit trails, and regulatory compliance.