seal
seal(
input):Promise<SealedMessage>
Defined in: seal.ts:51
Register an identity for revealAt and encrypt the message for it. With registrant, the user’s account sends the
registration (and pays the gas); the message is encrypted only once the transaction is handed over, so a refused
registration leaves nothing sealed that can never open. Wait for that transaction before relying on the reveal
(readRegistration).
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<SealedMessage>