# UseFactsResult

Defined in: react/src/facts.tsx:80

## Properties

### facts

> **facts**: [`FactsPayload`](https://docs.sparkletree.io/developers/api/react/interfaces/factspayload.md) \| `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

> **ok**: `boolean`

Defined in: react/src/facts.tsx:85

True once the document has been read.

***

### reason

> **reason**: [`FactsFailureReason`](https://docs.sparkletree.io/developers/api/react/type-aliases/factsfailurereason.md) \| `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

> **verify**: () => `Promise`\<[`VerifyFactsResult`](https://docs.sparkletree.io/developers/api/react/interfaces/verifyfactsresult.md)\>

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

`Promise`\<[`VerifyFactsResult`](https://docs.sparkletree.io/developers/api/react/interfaces/verifyfactsresult.md)\>
