adamant-console / sendMessage
Function: sendMessage()
sendMessage(
address?,message?,amountString?,passphrase?):Promise<any>
Defined in: send.js:50
Sends an encrypted chat message, optionally with ADM attached.
Parameters
address?
string = ...
Recipient ADAMANT address or public key
message?
any = ...
Message text or object to serialize
amountString?
string = ''
Optional token amount, optionally suffixed with ADM
passphrase?
string
Optional passphrase override for RPC/library use
Returns
Promise<any>
Send transaction response, unwrapped from data when present