Class ExchangeService

Hierarchy

Index

Methods

destroy

  • destroy(): void

getExchangeOffers

  • getExchangeOffers(fromTokenAddress: string, toTokenAddress: string, fromAmount: BigNumber): Promise<ExchangeOffer[]>
  • Parameters

    • fromTokenAddress: string
    • toTokenAddress: string
    • fromAmount: BigNumber

    Returns Promise<ExchangeOffer[]>

getExchangeSupportedAssets

  • getExchangeSupportedAssets(page?: number, limit?: number): Promise<PaginatedTokens>
  • Parameters

    • Default value page: number = null
    • Default value limit: number = null

    Returns Promise<PaginatedTokens>

init