Fetch

Forget Message can not be fetched yet through a dedicated endpoint.

If you know the hash of the message you want to retrieve, you can use GetMessage or GetMessages for more global research.

Example using GetMessages:

import { GetMessages } from 'aleph-sdk-ts/dist/messages/any';
import { MessageType } from 'aleph-sdk-ts/dist/messages/message'

(async () => {
    const res = await GetMessages({
        messageType: MessageType.forget
    });
})();

Last updated