index

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


twine-js / @twine-protocol/twine-http-store

@twine-protocol/twine-http-store

This package contains HttpStore, an HTTP client that implements the Store interface used to interact with a Twine HTTP API.

Example

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

Classes

Class
Description

An HTTP client that implements Store

Type Aliases

Type alias
Description

Options for the HTTP store

Last updated