Options
All
  • Public
  • Public/Protected
  • All
Menu

InjectivePortfolioRPC defines gRPC API of Exchange Portfolio provider.

Hierarchy

  • InjectivePortfolioRPC

Implemented by

Index

Methods

  • Provide the account's portfolio

    Parameters

    • request: { accountAddress?: string }
      • Optional accountAddress?: string

        Account address

    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.AccountPortfolioResponse>

  • Stream the account's portfolio

    Parameters

    • request: { accountAddress?: string; subaccountId?: string; type?: string }
      • Optional accountAddress?: string

        The account's portfolio address

      • Optional subaccountId?: string

        Related subaccount ID

      • Optional type?: string
    • Optional metadata: BrowserHeaders

    Returns Observable<internal.StreamAccountPortfolioResponse>

Generated using TypeDoc