Decrypts an encrypted post.

How to use?

let res = await orbis.decryptPost(content);


  • content: JSON object that contains the full content of the post
  • ...: The full content of the post
  • encryptedBody: object JSON object containing the encryption details
  • encryptedString: string Encrypted string generated by Lit Protocol
  • encryptedSymmetricKey: string Encrypted symmetric key generated by Lit Protocol
  • accessControlConditions: string Array of access control conditions stored as a string


/** Once you loaded the post details you can call */
let res = await orbis.decryptPost(post.content);


  result: "Content of the post decrypted"