UNPKG

@neynar/nodejs-sdk

Version:

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

37 lines (36 loc) 1.56 kB
/** * 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. */ /** * Contains the data required to verify ownership of an Ethereum or Solana address. The verification process requires a cryptographic signature from the blockchain address and includes the block hash at the time of signing for timestamp verification. * @export * @interface VerificationAddEthAddressBody */ export interface VerificationAddEthAddressBody { /** * The Ethereum (0x-prefixed) or Solana address that the user is claiming ownership of. Must match the address that produced the signature. * @type {string} * @memberof VerificationAddEthAddressBody */ 'address': string; /** * Base64-encoded signature produced by the blockchain address, proving ownership. For Ethereum, this is an ECDSA signature of a specific message format. * @type {string} * @memberof VerificationAddEthAddressBody */ 'ethSignature': string; /** * The hash of the most recent block when the signature was created. Used to verify the approximate time of signature creation. * @type {string} * @memberof VerificationAddEthAddressBody */ 'blockHash': string; }