live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/me-client


@orangecheck/me-client / parseTrustAttestationCount

Function: parseTrustAttestationCount()

function parseTrustAttestationCount(value: string): 
  | TrustAttestationCount
  | null;

Defined in: me-client/src/scope.ts:84

Decode the trust_attestation_count scope's wire-format string into a typed quad. Returns null if the input is malformed (defensive · the resolver always emits well-formed strings, but third-party consumers may hand us anything).

Parameters

ParameterType
valuestring

Returns

| TrustAttestationCount | null