Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WhisperTransport

Hierarchy

  • WhisperTransport

Index

Constructors

constructor

Properties

web3

web3: Web3

Methods

sendSessionRequest

  • sendSessionRequest(beneficiary: VASP, sessionRequestMsg: SessionRequest): Promise<string>
  • Send Session Request Message.

    Parameters

    Returns Promise<string>

    Promise: Hash of message

sendToTopic

  • sendToTopic(topic: string, sharedKey: string, message: string): Promise<string>
  • Parameters

    • topic: string
    • sharedKey: string
    • message: string

    Returns Promise<string>

waitForSessionRequest

waitForTopicMessage

  • waitForTopicMessage(topic: string, sharedKey: string, cb: CallbackFunction): Promise<string>

Generated using TypeDoc