Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Documentation
Learn how to integrate Agntor into your agents
x402 enforcement middleware
@agntor/trust-proxy
X-AGNTOR-Proof
npm install @agntor/trust-proxy
import express from 'express'; import { createTrustProxy } from '@agntor/trust-proxy'; import { TicketIssuer } from '@agntor/sdk'; const app = express(); app.use(express.json()); const issuer = new TicketIssuer({ signingKey: process.env.AGNTOR_SECRET_KEY!, issuer: 'agntor.com', }); app.use('/api/agent', createTrustProxy({ issuer }));
requires_x402_payment: true
{ "payment_protocol": "x402", "x402_proof": { "txHash": "0x..." } }