Skip to content

Type Alias: KeyHolderCheck

TypeScript
type KeyHolderCheck = 
  | {
  status: "unchecked";
}
  | {
  status: "unread";
}
  | {
  read?: "partial";
  reason: string;
  status: "accepted";
};

Defined in: stamp-core/src/key-holder.ts:22 (opens in a new tab)

SPEC §8.1 step 8: unchecked when no judge was passed, unread when the signer's records could not be read in full, which is not a refusal, else the judge's acceptance. A refusal is E_KEY_HOLDER_REFUSED.