# VerifyFactsOptions

Defined in: facts.ts:483

## Properties

### apiBase?

> `optional` **apiBase?**: `string`

Defined in: facts.ts:491

Where to fetch `/.well-known/sparkletree-keys.json` when `keys` is not
given. Must be a SparkleTree host (or loopback): keys from any other
host prove nothing about who signed.

***

### fetchImpl?

> `optional` **fetchImpl?**: (`input`, `init?`) => `Promise`\<`Response`\>

Defined in: facts.ts:494

Test seam; defaults to the platform fetch.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)

#### Parameters

##### input

`URL` \| `RequestInfo`

##### init?

`RequestInit`

#### Returns

`Promise`\<`Response`\>

***

### keys?

> `optional` **keys?**: readonly [`FactsPublicKey`](https://docs.sparkletree.io/developers/api/core/interfaces/factspublickey.md)[]

Defined in: facts.ts:485

Keys to verify against. When given, nothing is fetched.

***

### signal?

> `optional` **signal?**: `AbortSignal`

Defined in: facts.ts:492

***

### subtle?

> `optional` **subtle?**: `SubtleCrypto`

Defined in: facts.ts:496

Test seam; defaults to `globalThis.crypto.subtle`.
