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
| Parameter | Type | Description |
|---|---|---|
signKey | Uint8Array | The signing key's private scalar |
body | InboxBody | - |
provider | CryptoProvider | - |
Returns
Promise<string>
The inbox as its code: what goes in a link or a QR code