{"uid":"cap_4pe1nU2ndThnyNjaxl5mD","slug":"theloopbreaker-com-643fcac6","name":"VKPSessionKeyManager.createSession() Transaction Preparer","description":"Tx-prepare for VKPSessionKeyManager.createSession() — create a scoped, time-bounded session key with spending caps and a contract allowlist. Returns unsigned transaction; caller signs in wallet.","url":"https://theloopbreaker.com/api/x402/actions/create-session-key","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object"},"output":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.050000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.050000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Dc3C9c2A6rLLa25z5g-sS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Prepares an unsigned transaction to create a scoped, time-bounded session key with spending caps and a contract allowlist via VKPSessionKeyManager.createSession()","exampleAgentPrompt":"Prepare a session key for my agent wallet 0xABC...123 that expires in 24 hours, caps total spending at 10 USDC, and only allows interactions with the Vaultfire AIPartnershipBondsV2 and VaultfireNameService contracts — give me the unsigned transaction I can sign in my wallet.","exampleUseCases":[{"title":"Delegate restricted agent access for trading","prompt":"Set up a session key for my trading bot that lasts 7 days, limits it to spend maximum 5000 USDC per transaction, and only lets it interact with the Uniswap V3Router and AavePoolV3 contracts — I'll sign the transaction in my wallet."},{"title":"Create time-limited key for automated payments","prompt":"I need a session key for my payment processor that expires in 30 days, caps total spending at 50000 USDC, and can only touch the USDC token contract and PaymentSplitterV2 — prepare the unsigned transaction for me to sign."},{"title":"Grant scoped permissions to AI portfolio manager","prompt":"Create a session key for my portfolio management agent that's valid for 90 days, limits each transaction to 2000 USDC, and restricts it to only the CurveStableSwap and LidoStaking contracts — I need the unsigned tx ready to sign."}],"resultDescription":"Returns an unsigned transaction payload that the caller signs locally in their wallet to create a scoped, time-bounded session key with the specified spending caps and contract allowlist on-chain via VKPSessionKeyManager.createSession()","failureModes":["Invalid or missing wallet address returns 400 Bad Request","Malformed contract allowlist addresses returns validation error","Spending cap exceeds protocol maximum returns constraint error","Expiry time in the past or too far in the future returns parameter error","x402 payment header missing or insufficient USDC balance returns 402 Payment Required","Unsupported chain ID returns 400 or 422 error"],"whenToPreferThis":"Use this endpoint when you need to delegate a restricted, time-limited session key to an AI agent or automated process, enforcing spending caps and limiting contract interaction to a specific allowlist. Prefer this over generic key management when you need fine-grained on-chain permission scoping within the Vaultfire Protocol ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:54:32.460Z","isFirstParty":false}