Skip to content

adamant-console / getMessage

Function: getMessage()

getMessage(id?, customPassphrase?): Promise<any>

Defined in: get.js:96

Gets a chat message transaction and decodes it when a matching passphrase is available.

Parameters

id?

string = ...

Transaction ID

customPassphrase?

string

Optional passphrase used only for local message decoding

Returns

Promise<any>

Transaction response, with transaction.decoded when decoding succeeds

Released under the GPL-3.0 License.