readMessage
Get a message given a transaction ID.
Request:
requestType is readMessage
transaction is the transaction ID of the message
secretPhrase is the secret passphrase of the account that received the message (optional)
Response:
(S) message is the plain message, if applicable
(S) decryptedMessage is the decrypted message, if applicable and only if the provided secretPhrase belongs to either the sender or receiver of the transaction
(S) decryptedMessageToSelf is the decrypted message sent to self, if applicable and only if the provided secretPhrase belongs to the sender of transaction
(N) requestProcessingTime is the API request processing time (in millisec)
Example:
Request:
http://localhost:801/BEAM?requestType=readMessage&transaction=3120851314369640207
Response:
{ “requestProcessingTime”: 0, “message”: “This is a sendMessage API example” }
Last updated