Skip to main content
enact session
Displays current agent session credentials and queries the on-chain remaining spending limit from the Tempo Account Keychain precompile.

Output

  Enact Session

  Root Account:  0x1234...5678
  Access Key:    0xabcd...efgh
  Budget:        $100 USD
  Remaining:     $95.50 USD

Agent mode

enact -t session
{
  "rootAddress": "0x1234...5678",
  "accessKey": "0xabcd...efgh",
  "budget": "100",
  "remaining": "95.50"
}
Agents should check remaining before making expensive requests. Use enact -t session to get a machine-readable value and compare against the expected cost from enact -t pay --dry-run.