Session Keys
Create and manage a browser-local signing key for fast delegated flows. This is application state, separate from contract method inspection and solver API reads.
- owner
- Connect wallet
- session key
- Not initialized
- expires
- Not initialized
- private key
- Not loaded
Replace the current local session key with a private key from another device.
Sign a plain text message with the loaded session key.
- session key
- Not initialized
- status
- Missing 16 of 16
- delegation expires
- No live grant
- scope
- 16 selectors — trade + account
Not delegated yet
16 selectors
Account management · 13
- allocatemoves collateral into the tradeable balance
- deallocatemoves collateral back out of the tradeable balance
- requestCancelWithdrawcancels a withdrawal the owner started
- finalizeWithdrawRequestsettles a withdrawal the owner already addressed
- requestToCancelQuotecancels a resting order
- requestToCancelCloseRequestcancels a resting close
- forceCancelQuoteforces a cancel the solver stalled on
- forceCancelCloseRequestforces a close-cancel the solver stalled on
- forceClosePositionforces a close the solver stalled on
- approveOperationalFeeWithMultipliersets the gasless fee allowance
- addMarginadds margin to a virtual account
- removeMargintakes margin back out of a virtual account
- editAccountNamerenames the sub-account
Trade lifecycle · 3
- addMarginToNextVAfunds the margin of the position being opened
- sendQuoteopens a position
- requestToClosePositioncloses a position
Revocation cannot be relayed — both steps are wallet transactions that cost native gas. Starting a revoke does not take authority away immediately: the key keeps signing for the full cooldown, and stops by itself when the ETA passes — no second transaction required. Clearing the stored grant afterwards is optional bookkeeping, permissionless, and unnecessary before re-granting — a new grant wipes the stale schedule on its own.