UNPKG

@standard-crypto/farcaster-js-hub-rest

Version:

A tool for interacting with the REST API of any Farcaster hub.

62 lines (61 loc) 1.39 kB
/** * Farcaster Hub REST API * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { DbStats } from './db-stats.js'; /** * * @export * @interface HubInfoResponse */ export interface HubInfoResponse { /** * * @type {string} * @memberof HubInfoResponse */ 'version': string; /** * * @type {boolean} * @memberof HubInfoResponse */ 'isSyncing': boolean; /** * * @type {string} * @memberof HubInfoResponse */ 'nickname': string; /** * * @type {string} * @memberof HubInfoResponse */ 'rootHash': string; /** * * @type {DbStats} * @memberof HubInfoResponse */ 'dbStats'?: DbStats; /** * * @type {string} * @memberof HubInfoResponse */ 'peerId': string; /** * * @type {number} * @memberof HubInfoResponse */ 'hubOperatorFid': number; }