Class AssetsService

Hierarchy

Index

Methods

destroy

  • destroy(): void

getAccountTokenListTokens

  • Parameters

    • Default value name: string = null

    Returns Promise<TokenListToken[]>

getHistoricalTokenPrice

  • getHistoricalTokenPrice(tokenAddress: string, ChainId: number, provider?: string, timePeriod?: string): Promise<HistoricalTokenPrices>
  • Parameters

    • tokenAddress: string
    • ChainId: number
    • Optional provider: string
    • Optional timePeriod: string

    Returns Promise<HistoricalTokenPrices>

getMarketDetails

  • getMarketDetails(tokenAddress: string, ChainId: number, provider?: string, timePeriod?: string): Promise<MarketDetails>
  • Parameters

    • tokenAddress: string
    • ChainId: number
    • Optional provider: string
    • Optional timePeriod: string

    Returns Promise<MarketDetails>

getNativeCurrencies

getNumberOfTransactions

  • getNumberOfTransactions(tokenAddress: string, ChainId: number, provider?: string): Promise<NumberOfTransactions>
  • Parameters

    • tokenAddress: string
    • ChainId: number
    • Optional provider: string

    Returns Promise<NumberOfTransactions>

getPoolsActivity

  • getPoolsActivity(tokenAddress: string, ChainId: number, provider?: string, page?: number, type?: string): Promise<PoolsActivities>
  • Parameters

    • tokenAddress: string
    • ChainId: number
    • Optional provider: string
    • Optional page: number
    • Optional type: string

    Returns Promise<PoolsActivities>

getTokenDetails

  • getTokenDetails(tokenAddress: string, ChainId: number, provider?: string): Promise<TokenDetails>
  • Parameters

    • tokenAddress: string
    • ChainId: number
    • Optional provider: string

    Returns Promise<TokenDetails>

getTokenListTokens

  • Parameters

    • Default value name: string = null

    Returns Promise<TokenListToken[]>

getTokenLists

getTradingHistory

  • getTradingHistory(tokenAddress: string, ChainId: number, provider?: string, page?: number): Promise<TradingHistories>
  • Parameters

    • tokenAddress: string
    • ChainId: number
    • Optional provider: string
    • Optional page: number

    Returns Promise<TradingHistories>

init

isTokenOnTokenList

  • isTokenOnTokenList(token: string, name?: string): Promise<boolean>
  • Parameters

    • token: string
    • Default value name: string = null

    Returns Promise<boolean>