> For the complete documentation index, see [llms.txt](https://docs.twine.world/twine-js/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.twine.world/twine-js/twine-protocol/twine-http-store/index.md).

# index

**@twine-protocol/twine-http-store v0.1.0** • **Docs**

***

[twine-js](/twine-js/index.md) / @twine-protocol/twine-http-store

## @twine-protocol/twine-http-store

This package contains [HttpStore](/twine-js/twine-protocol/twine-http-store/classes/httpstore.md), an HTTP client that implements the Store interface used to interact with a Twine HTTP API.

### Example

```js
const store = new HttpStore('https://example.com')
const { chain, pulse } = await store.resolveLatest("bafyreilskdjflksjdflksj...")
console.log(chain, pulse)
```

### Classes

| Class                                                                       | Description                          |
| --------------------------------------------------------------------------- | ------------------------------------ |
| [HttpStore](/twine-js/twine-protocol/twine-http-store/classes/httpstore.md) | An HTTP client that implements Store |

### Type Aliases

| Type alias                                                                                     | Description                |
| ---------------------------------------------------------------------------------------------- | -------------------------- |
| [HttpStoreOptions](/twine-js/twine-protocol/twine-http-store/type-aliases/httpstoreoptions.md) | Options for the HTTP store |
