Create Session
const { sessionId, paymentRequest } = await agent.createSession({
maxSpend: 10,
durationHours: 24
});
Query Session
const session = await agent.getSession(sessionId);
console.log(\`Remaining: \${session.remaining} USDC\`);
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Manage gasless payment sessions
const { sessionId, paymentRequest } = await agent.createSession({
maxSpend: 10,
durationHours: 24
});
const session = await agent.getSession(sessionId);
console.log(\`Remaining: \${session.remaining} USDC\`);