minca
ApiInboxFunctions

Function: encodeInbox()

function encodeInbox(
   signKey, 
   body, 
   provider
): Promise<string>;

Defined in: packages/core/src/inbox/inbox.ts:144

Signs an inbox with its own signing key, which signs for itself: no note, so nothing in it names the account.

Parameters

ParameterTypeDescription
signKeyUint8ArrayThe signing key's private scalar
bodyInboxBody-
providerCryptoProvider-

Returns

Promise<string>

The inbox as its code: what goes in a link or a QR code

On this page