Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MitoAPIClientImpl

Implements

Index

Constructors

  • Parameters

    • rpc: Rpc

    Returns MitoAPIClientImpl

Properties

rpc: Rpc

Methods

  • List a vault by contract address

    Parameters

    • request: { contractAddress?: string; slug?: string }
      • Optional contractAddress?: string
      • Optional slug?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetVaultResponse>

  • List all vaults

    Parameters

    • request: { codeId?: string; pageIndex?: number; pageSize?: number }
      • Optional codeId?: string
      • Optional pageIndex?: number
      • Optional pageSize?: number
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetVaultsResponse>

  • Get list of address that holds this LP token

    Parameters

    • request: { pageIndex?: number; pageSize?: number; vaultAddress?: string }
      • Optional pageIndex?: number
      • Optional pageSize?: number
      • Optional vaultAddress?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.LPHoldersResponse>

  • LPTokenPriceChart implements LPTokenPriceChart.

    Parameters

    • request: { fromTime?: string; toTime?: string; vaultAddress?: string }
      • Optional fromTime?: string
      • Optional toTime?: string
      • Optional vaultAddress?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.LPTokenPriceChartResponse>

  • Portfolio summary of an account

    Parameters

    • request: { holderAddress?: string }
      • Optional holderAddress?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<PortfolioResponse>

  • TVLChart implements TVLChart.

    Parameters

    • request: { fromTime?: string; toTime?: string; vaultAddress?: string }
      • Optional fromTime?: string
      • Optional toTime?: string
      • Optional vaultAddress?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.TVLChartResponse>

  • Get list of vaults that user subscribes to

    Parameters

    • request: { holderAddress?: string; pageIndex?: number; pageSize?: number; vaultAddress?: string }
      • Optional holderAddress?: string
      • Optional pageIndex?: number
      • Optional pageSize?: number
      • Optional vaultAddress?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.VaultsByHolderAddressResponse>

Generated using TypeDoc