UNPKG

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

Version:

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

29 lines (28 loc) 1.17 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 { OnChainEventIdRegister } from './on-chain-event-id-register.js'; import { OnChainEventSigner } from './on-chain-event-signer.js'; import { OnChainEventSignerMigrated } from './on-chain-event-signer-migrated.js'; import { OnChainEventStorageRent } from './on-chain-event-storage-rent.js'; /** * @type OnChainEvent * @export */ export type OnChainEvent = { type: 'EVENT_TYPE_ID_REGISTER'; } & OnChainEventIdRegister | { type: 'EVENT_TYPE_SIGNER'; } & OnChainEventSigner | { type: 'EVENT_TYPE_SIGNER_MIGRATED'; } & OnChainEventSignerMigrated | { type: 'EVENT_TYPE_STORAGE_RENT'; } & OnChainEventStorageRent;