RFC 0x20CCPRIVATE SESSION: SessionsOctober 2026

3. Sessions

a program, its proof, its relay

A session is a public account that nobody owns. A proof moves part of one of your notes into it, with a program of up to eight orders, and when the program is done the session comes home as a fresh note of yours. The chain sees the session. It does not see that it is yours.

3.1.The Note

The note that pays. Open your notes on page 2 first; this page reads the same tab.

3.2.The Program

the least the order may receive is set from Uniswap's own quote, less this
  • the pool nownil
  • the first order receives at leastnil

3.3.The Cap

What the session reserves from the note: what its orders spend, the relayer's fee, and the keepers' pay for every later fire and the close. Whatever is not used comes home with the session. The rest of the note stays hidden as change, with the cover it has earned settled into it.

  • ETH reservednil
  • SESSION reservednil
  • change, still hiddennil

3.4.Expiry and Relay

A session MUST close within 30 days. Whoever submits the proof MAY be repaid from the session, up to the fee cap the proof names, and never more than its gas times the base fee plus 1 gwei.

  • expiresnil
  • relayer's fee capnil
  • keepers' pay reservednil
an address, if one relayer is to submit it; empty lets anyone

3.5.The Proof

Made in this browser, in a Web Worker: about 3 seconds in a browser, and the line below shows this one's timing. Five steps: the tree, then the wires, the permutation, the quotient and the openings.

3.6.Send It

From a wallet that is not the depositing one, or as a relay ticket for anyone to submit. A session sent from the depositing wallet is that wallet's in public. To send from another wallet, switch accounts in your wallet now: the proof stays on this page.