Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConnectionsClient

Raiden sub-client for Connections

Hierarchy

Implements

Index

Constructors

constructor

Methods

joinRequestUrl

  • joinRequestUrl(tokenAddress: string): string

joinTokenNetwork

  • joinTokenNetwork(tokenAddress: string, joinConfig: Partial<JoinConfig>): Promise<any>
  • Automatically join a token network. The request will only return once all blockchain calls for opening and/or depositing to a channel have completed.

    Parameters

    • tokenAddress: string
    • joinConfig: Partial<JoinConfig>

    Returns Promise<any>

leaveTokenNetwork

  • leaveTokenNetwork(tokenAddress: string): Promise<string[]>
  • Leave a token network. The request will only return once all blockchain calls for closing/settling a channel have completed.

    Parameters

    • tokenAddress: string

    Returns Promise<string[]>

list

listRequestUrl

  • listRequestUrl(): string

Generated using TypeDoc