{
  "what_this_is": "The spending authority delegated to this agent, read live from the Altana KeyStore on-chain. Not a description of our configuration — the same view calls a stranger would make.",
  "why_it_exists": "An agent that can spend needs limits somebody else can verify. An Altana session carries an allowlist of contracts, a rolling spend cap per token and an expiry; the account contract enforces them at validation, so a call outside the scope reverts rather than being caught by our code.",
  "agent_wallet": "0xC5A17B5295Fc50BAdB1F9f9C09b412fE5e84F7d3",
  "chains": [
    {
      "chainId": 56,
      "chain": "BNB Smart Chain",
      "wallet": "0xC5A17B5295Fc50BAdB1F9f9C09b412fE5e84F7d3",
      "keystore": "0x6572427ED530BadcF7375Cf9A4709D8d2b0E7E0a",
      "registered_keys": 2,
      "keys": [
        {
          "keyId": "0xc11b9dc3a76225954ff040294daae83c7b902af060da656d9c72c9eb9939a6e8",
          "valid": true,
          "keystore_entry": "https://bscscan.com/address/0x6572427ED530BadcF7375Cf9A4709D8d2b0E7E0a"
        },
        {
          "keyId": "0x123b8810b9b5265bdecf5d75314c16ab93286821dd492767a4c06c1de3ceac2e",
          "valid": true,
          "keystore_entry": "https://bscscan.com/address/0x6572427ED530BadcF7375Cf9A4709D8d2b0E7E0a"
        }
      ],
      "state": "2 of 2 registered keys are currently valid",
      "verify_it_yourself": {
        "contract": "0x6572427ED530BadcF7375Cf9A4709D8d2b0E7E0a",
        "call": "getKeys(0xC5A17B5295Fc50BAdB1F9f9C09b412fE5e84F7d3) then isValidKey(0xC5A17B5295Fc50BAdB1F9f9C09b412fE5e84F7d3, keyId)",
        "note": "Both are view calls against the KeyStore. Nothing here comes from our own state."
      }
    },
    {
      "chainId": 97,
      "chain": "BNB Smart Chain Testnet",
      "wallet": "0xC5A17B5295Fc50BAdB1F9f9C09b412fE5e84F7d3",
      "keystore": "0x6b8361C29d05D498b1a12B54A37310f94171E94A",
      "registered_keys": 0,
      "keys": [],
      "state": "no session key registered for this wallet",
      "verify_it_yourself": {
        "contract": "0x6b8361C29d05D498b1a12B54A37310f94171E94A",
        "call": "getKeys(0xC5A17B5295Fc50BAdB1F9f9C09b412fE5e84F7d3) then isValidKey(0xC5A17B5295Fc50BAdB1F9f9C09b412fE5e84F7d3, keyId)",
        "note": "Both are view calls against the KeyStore. Nothing here comes from our own state."
      }
    }
  ],
  "revocation": {
    "how": "The wallet's admin key revokes; the effect is immediate and the KeyStore entry stops validating.",
    "why_not_here": "The admin key is not on this worker and no public endpoint can trigger a revoke. An endpoint that could would be a way for a stranger to disable the agent, which is a denial-of-service dressed as a safety feature.",
    "command": "node scripts/altana-session.mjs --revoke --confirm"
  },
  "measured_at": "2026-08-29T21:51:10.638Z"
}