Skip to content
Developer Preview

classifyServedSchema

Classify a host’s advertised schema identity against the pin (ADR 22936 D3). Equal fingerprints: no check at all, whatever the epochs. A served epoch that is not a non-negative integer reads as absent, so this call on initializeResult.schema reports the tier the handshake reported. Returns undefined when there is nothing to say — a mismatch is surfaced, not thrown; the refusal is the connection’s decision, not this function’s.

classifyServedSchema(served: ServedSchemaIdentity): FingerprintWarning | undefined

Parameter Type Stability Presence Description
served ServedSchemaIdentity required

FingerprintWarning | undefined

Source

clients/sdk-ts/src/fingerprint.ts:141

{
"kind": "Function",
"canonicalPath": "classifyServedSchema"
}