UseFactsResult
Defined in: react/src/facts.tsx:80
Properties
Section titled “Properties”facts:
FactsPayload|null
Defined in: react/src/facts.tsx:83
The facts document exactly as the edge sent it; null until it arrives or when it could not be read.
ok:
boolean
Defined in: react/src/facts.tsx:85
True once the document has been read.
reason
Section titled “reason”reason:
FactsFailureReason|undefined
Defined in: react/src/facts.tsx:88
Why the document could not be read. Undefined while the request is running and after it succeeded.
verify
Section titled “verify”verify: () =>
Promise<VerifyFactsResult>
Defined in: react/src/facts.tsx:92
Check the document’s signature against the edge’s published keys.
Never rejects; resolves { valid: false } with a reason when there is
nothing to check or the check fails.
Returns
Section titled “Returns”Promise<VerifyFactsResult>