UNPKG

@neynar/nodejs-sdk

Version:

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

93 lines (92 loc) 2.34 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.175.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 { Network } from './network'; export interface GetTokenMetadata200ResponseToken { /** * Token contract address */ 'address': string; /** * Token decimals */ 'decimals': number; /** * Token description */ 'description': string | null; /** * Fully diluted valuation in USD */ 'fdv': string | null; /** * Number of token holders */ 'holder_count': number | null; /** * Token logo URL */ 'image_url': string | null; /** * Total liquidity in USD */ 'liquidity': string | null; /** * Market capitalization in USD */ 'market_cap': string | null; /** * Token name */ 'name': string; 'network': Network; /** * 24-hour price change percentage */ 'price_change_24h_pct': number | null; /** * 6-hour price change percentage */ 'price_change_6h_pct': number | null; /** * Source of price data */ 'price_source': GetTokenMetadata200ResponseTokenPriceSourceEnum | null; /** * Timestamp when price data was last updated (milliseconds) */ 'price_updated_at': number | null; /** * Token price in USD */ 'price_usd': string | null; /** * Token symbol */ 'symbol': string; /** * Total token supply */ 'total_supply': string | null; /** * 24-hour trading volume in USD */ 'volume_24h': string | null; /** * 6-hour trading volume in USD */ 'volume_6h': string | null; } export declare const GetTokenMetadata200ResponseTokenPriceSourceEnum: { readonly Onchain: "onchain"; readonly Coingecko: "coingecko"; }; export type GetTokenMetadata200ResponseTokenPriceSourceEnum = typeof GetTokenMetadata200ResponseTokenPriceSourceEnum[keyof typeof GetTokenMetadata200ResponseTokenPriceSourceEnum];