@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
29 lines (28 loc) • 1.07 kB
TypeScript
/**
* Farcaster Hub API
* Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
*
* The version of the OpenAPI document: 2.35.0
* Contact: team@neynar.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { OnChainEventIdRegister } from './on-chain-event-id-register';
import type { OnChainEventSigner } from './on-chain-event-signer';
import type { OnChainEventSignerMigrated } from './on-chain-event-signer-migrated';
import type { OnChainEventStorageRent } from './on-chain-event-storage-rent';
/**
* @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;