bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Interface iAssetInfoDoc<T>

    interface iAssetInfoDoc<T extends NumberType> {
        _docId: string;
        _id?: string;
        asset: string;
        lastUpdated: T;
        percentageChange24h: number;
        percentageChange7d: number;
        price: number;
        recentPriceTrend?: { pricePoints: { price: number; timestamp: T }[] };
        totalLiquidity: iCosmosCoin<T>[];
        verified?: boolean;
        volume24h: number;
        volume7d: number;
    }

    Type Parameters

    Hierarchy (View Summary)

    • Doc
      • iAssetInfoDoc

    Implemented by

    Index

    Properties

    _docId: string

    A unique stringified document ID

    _id?: string

    A unique document ID (Mongo DB ObjectID)

    asset: string
    lastUpdated: T
    percentageChange24h: number
    percentageChange7d: number
    price: number
    recentPriceTrend?: { pricePoints: { price: number; timestamp: T }[] }

    Recent price trend data points for charting (last 7 days)

    Type Declaration

    • pricePoints: { price: number; timestamp: T }[]

      Array of price data points with timestamps

    totalLiquidity: iCosmosCoin<T>[]
    verified?: boolean

    Whether this asset is verified

    volume24h: number
    volume7d: number