{"uid":"cap_CM5opWl0Xn8DQcEcxIr3Y","slug":"almanac-timelock-seal-encrypt-decrypt-0aea11f2","name":"Almanac Timelock Seal (Encrypt/Decrypt)","description":"Timelock encryption (tlock / encrypt-to-the-future): seal a payload toward a future drand round — undecryptable by anyone, including us, until that round lands; or open a landed seal. For sealed-bid auctions, commit-reveal, scheduled secrets, dead-man switches. age-armored, interoperable. Free zero-knowledge inspect at /sealed/inspect.","url":"https://almanac.locomot.io/sealed","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"op":{"enum":["encrypt","decrypt"],"type":"string","description":"operation; default encrypt"},"data":{"type":"string","description":"encrypt: plaintext to seal"},"round":{"type":"integer","description":"encrypt: target drand round"},"duration":{"type":"string","description":"encrypt: time to unlock e.g. '10d'"},"ciphertext":{"type":"string","description":"decrypt: age-armored seal"},"decrypt_time":{"type":"string","description":"encrypt: ISO unlock time"}}}},"additionalProperties":false},"output":{"type":"object","properties":{"op":{"type":"string"},"chain":{"type":"string"},"engine":{"type":"string"},"format":{"type":"string"},"chain_hash":{"type":"string"},"ciphertext":{"type":"string"},"privacy_note":{"type":"string"},"deterministic":{"type":"boolean"},"sealed_to_round":{"type":"integer"},"unlock_time_utc":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_slL50ZaYkMUAeoD0LA3I7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encrypts plaintext to a future drand randomness round (timelock encryption) or decrypts an age-armored ciphertext once the target round has passed","exampleAgentPrompt":"Seal this message using timelock encryption so it can't be decrypted for 10 days: 'The launch date is March 15th — keep this confidential until then.'","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the age-armored ciphertext sealed to a specific drand round, the chain hash, the engine and format used, the sealed round number, the UTC unlock time, whether the encryption is deterministic, and a privacy note about the operation.","failureModes":["Missing required 'op' parameter — defaults to encrypt but may cause confusion","Invalid or past drand round specified for encryption — round must be in the future","Malformed age-armored ciphertext on decrypt — returns error if ciphertext is corrupt or invalid","Decrypt attempted before the target drand round has been published — beacon not yet available","Conflicting time parameters (both 'round' and 'duration' or 'decrypt_time') — ambiguous unlock target","Payment not provided or insufficient — x402 payment required at $0.005 USDC per call"],"whenToPreferThis":"Use this endpoint when you need cryptographic time-locking: encrypting data that should only be decryptable after a specific future moment, enforced by the drand randomness beacon rather than a trusted server. Prefer this over symmetric encryption when you want trustless, decentralized time-based access control without relying on a secret key held by a third party.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:40:24.951Z","isFirstParty":false}