Skip to main content

Function: prepareAccountInboxMessage()

prepareAccountInboxMessage(__namedParameters): Promise<{ authorAccountAddress?: string; ciphertext: string; signature?: { hex: string; recovery: number; }; }>

Defined in: packages/hypergraph/src/inboxes/prepare-message.ts:47

Parameters

__namedParameters

Readonly<{ accountAddress: string; authorAccountAddress: string | null; encryptionPublicKey: string; inboxId: string; message: string; signaturePrivateKey: string | null; }>

Returns

Promise<{ authorAccountAddress?: string; ciphertext: string; signature?: { hex: string; recovery: number; }; }>