UNPKG

@neynar/nodejs-sdk

Version:

SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)

56 lines (55 loc) 2.1 kB
/** * Neynar API * The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details. * * The version of the OpenAPI document: 3.115.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 { SignedKeyRequestSponsor } from './signed-key-request-sponsor'; /** * * @export * @interface RegisterAuthAddressDeveloperManagedSignedKeyReqBody */ export interface RegisterAuthAddressDeveloperManagedSignedKeyReqBody { /** * Ethereum address * @type {string} * @memberof RegisterAuthAddressDeveloperManagedSignedKeyReqBody */ 'address': string; /** * The unique identifier of a farcaster user or app (unsigned integer) * @type {number} * @memberof RegisterAuthAddressDeveloperManagedSignedKeyReqBody */ 'app_fid': number; /** * unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended) * @type {number} * @memberof RegisterAuthAddressDeveloperManagedSignedKeyReqBody */ 'deadline': number; /** * Signature generated by the custody address of the app. Signed data includes app_fid, deadline, 32 bytes padded auth address. [Refer guide for more details.](https://docs.neynar.com/docs/auth-address-signature-generation) * @type {string} * @memberof RegisterAuthAddressDeveloperManagedSignedKeyReqBody */ 'signature': string; /** * Url to redirect to after the signer is approved. **Note** : This should only be used when requesting a signer from a native mobile application. * @type {string} * @memberof RegisterAuthAddressDeveloperManagedSignedKeyReqBody */ 'redirect_url'?: string; /** * * @type {SignedKeyRequestSponsor} * @memberof RegisterAuthAddressDeveloperManagedSignedKeyReqBody */ 'sponsor'?: SignedKeyRequestSponsor; }