Seal the record
For anyone: pin the chain's head over the entries written since the last seal.
- Open the Book or Ledger page. The button reads Seal N entries, where N is how many are open.
- Press it and sign.
- The open entries change to Seal K, and the new seal appears in the Seals list with its range and head.
await program.methods.seal().accounts({ payer: payer.publicKey, book }).rpc();The payer covers the rent of the new Seal account. If nothing is open the button reads Nothing to seal, and the program refuses with NothingToSeal.
How often to seal is up to you. Sealing more often makes each fixed point cover less history; it does not make any single entry safer.
NextVerify a book