Skip to main content

HCS‑27 API Reference

Sources

Import PathsDirect link to Import Paths

// HCS-27 TypeScript support is not yet available.
// Coming soon to @hashgraphonline/standards-sdk.

ConfigurationDirect link to Configuration

// Not yet available.

TypesDirect link to Types

// Not yet available.

Client MethodsDirect link to Client Methods

// Not yet available.

Validation FunctionsDirect link to Validation Functions

// Not yet available.

Notes

  • ValidateCheckpointMessage handles both inline and HCS-1-referenced metadata payloads.
  • When metadata exceeds 1024 bytes, the SDK automatically publishes it via HCS-1 and attaches a metadata_digest for integrity verification.
  • ValidateCheckpointChain verifies monotonic tree growth and prev linkage across a sequence of records.

Merkle Tree UtilitiesDirect link to Merkle Tree Utilities

// Not yet available.

Memo HelpersDirect link to Memo Helpers

// Not yet available.

Error ConditionsDirect link to Error Conditions

ErrorCause
invalid protocol "…"Message p field is not hcs-27
metadata.type must be ans-checkpoint-v1Unsupported checkpoint type
metadata.stream.registry is requiredMissing stream identifier
metadata.root.rootHashB64u must be base64urlMalformed root hash
metadata digest does not match resolved payloadIntegrity check failure for HCS-1 overflow metadata
tree size decreased for stream …Chain validation detected non-monotonic growth
prev.treeSize mismatch for stream …Chain linkage broken