Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Subgraph

Index

Constructors

Properties

Accessors

Methods

Constructors

  • Initializes the subgraph object with one of the supported networks.

    Parameters

    • network: Network = "arbitrum"

      Supported Semaphore network.

    Returns Subgraph

Properties

_url: string

Accessors

  • get url(): string
  • Returns the subgraph URL.

    Returns string

    Subgraph URL.

Methods

  • getGroup(groupId: string, options?: GroupOptions): Promise<any>
  • Returns a specific group.

    Parameters

    • groupId: string

      Group id.

    • options: GroupOptions = {}

      Options to select the group parameters.

    Returns Promise<any>

    Specific group.

  • Returns the list of groups.

    Parameters

    • options: GroupOptions = {}

      Options to select the group parameters.

    Returns Promise<any[]>

    List of groups.

Generated using TypeDoc