{"_id":"@agenttoll/sdk","_rev":"16-41743729881e1e1bd9d932a3bbb17105","name":"@agenttoll/sdk","dist-tags":{"latest":"1.5.2"},"versions":{"1.0.0":{"name":"@agenttoll/sdk","version":"1.0.0","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.0.0","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://agenttoll.io","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"dist":{"shasum":"bfbf71a8b3877628b1eb3242d7deed746ea4f118","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.0.0.tgz","fileCount":6,"integrity":"sha512-w9trq2kjCa501eJ1bKXlFUO2HuQshyIsEDyghKLuops4scdnHVp+he12TTsaBJIaAeOWgSgdWeMopgQ/58hx9w==","signatures":[{"sig":"MEQCIEEwQPBhktT4wpdUW2HyYssJArckbxQ64hem5i8v0B96AiBb2qNJ/+VCNqbf22J2WJFKbA6rmbfYy0AtmQtVnbGhOQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21853},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js"},"gitHead":"92a617937f736928b33aa4f883e78bbe5dd0522b","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.0_1771362155437_0.5683352163800091","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@agenttoll/sdk","version":"1.0.1","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.0.1","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://agenttoll.io","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"dist":{"shasum":"7a0e704005787757628b0e7e040af7681548f51b","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.0.1.tgz","fileCount":6,"integrity":"sha512-Cq36V+3OcxNlMwk4PQJvSY+WLpDzlRYfL+yQZpVHIm52lMNRb9NmkGbcKLIxyjtgw62ihN/keaBEIXmDS8w9cw==","signatures":[{"sig":"MEUCIF3lI8lWGQPKWyocx8XupZJSwDfQiH0bnCXzJw0U6w6tAiEAiufbFTcGtz/aXVYSK2uB2mVLt5A6D5dGEZwSJmCFo1U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21754},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js"},"gitHead":"92a617937f736928b33aa4f883e78bbe5dd0522b","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.1_1771362365534_0.9250915688679842","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@agenttoll/sdk","version":"1.0.2","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.0.2","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://agenttoll.io","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"dist":{"shasum":"9fc0abd7a3b8ebac3bc3c6fd86b55a86f14ae5e3","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.0.2.tgz","fileCount":6,"integrity":"sha512-kq0AIXe3x38an/7M2z9nwOK4xhBTIkSax/jl3FSeO2g4Mq/J16g+tvRj1uaIeOoxhCnlzMBAKE7PaebcTjuefQ==","signatures":[{"sig":"MEQCIHzCz5TD8+7cxMt+KsSVT1zUvHwmFjz3m4aoerIlT6gvAiAZu1e83ELlpZBa3LfSngZMNbdNBa6VnX4R7rbSfr3OPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22698},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js"},"gitHead":"92a617937f736928b33aa4f883e78bbe5dd0522b","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.2_1771363492546_0.1993809440255121","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@agenttoll/sdk","version":"1.1.0","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.1.0","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://agenttoll.io","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"dist":{"shasum":"07d712fcd3f553793dfce9fcef65f3ba579d66ee","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.1.0.tgz","fileCount":6,"integrity":"sha512-vHkjvDB6h5K7t33YnQE+fy2KojGkNcEVjFjpYrcYNn48kSR7kkxxE9QT1QuWHobqvVMg9OS8rfZrKVgfOJTlqw==","signatures":[{"sig":"MEQCIDNsrP187GVdd1UpdTWEQifviYpSNujoS1Xp32Y75eaRAiAvKueB3UgRVLa+gqFiqMsJ9Z4FiAshW/pqiD3YjHrt2w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24651},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js"},"gitHead":"55dc5eb8b1e54e7e39dfaeea8c22899bdcee9775","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.0_1772510459719_0.8605984852599462","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@agenttoll/sdk","version":"1.2.0","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.2.0","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://agenttoll.io","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"dist":{"shasum":"917965201d205155fcf7640edb4ef1f7a86d282c","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.2.0.tgz","fileCount":6,"integrity":"sha512-EFJ7XNwShi2kv7bzXMzIyHusnO64cCqhPSEz1/8nbdobB51cyBzYMHRRGNHa+sdlyCKwNJWE6aryXdywdnMlmw==","signatures":[{"sig":"MEUCIHQC7Ro0Hl6FJJSycV7xPCCB+Zughk/aiQC/63mu6kdaAiEAgIgFzh+rF22l03tOK1GgjKpii5Hi54VdwyWmbMS27FA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25043},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js"},"gitHead":"8cc3c0cacd93379161f6917681e78a7e52974c32","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.2.0_1772512807811_0.220601994043238","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@agenttoll/sdk","version":"1.3.0","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.3.0","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://agenttoll.io","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"dist":{"shasum":"9fae1e9f3cac7547ab6400ec4a2fee93ad5a585d","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.3.0.tgz","fileCount":7,"integrity":"sha512-xzHwWn2JrBqk7oh2AVQh2GcP5n4oVSjzKNAOtNAaplLbl0mFwVivmpAXkIcSAxmcXTeKgyq9zpOuuzucXplVDQ==","signatures":[{"sig":"MEUCIQCmDK4S+GZS/1KaJN/RhBGm0I18iqC25cIlyLVuOZPbDwIgWAGWRWrV0ruVAEJst+zor+RaQiqYc7lY+pANq0hagPI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40335},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js","./content-gate":"./content-gate.js"},"gitHead":"53ad5ef3522542091607dd91df4364358028ed96","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.3.0_1772682982836_0.953041621473218","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@agenttoll/sdk","version":"1.3.1","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.3.1","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://agenttoll.io","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"dist":{"shasum":"ad8cf4f9178edfd7db03856f77a06134dff462d3","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.3.1.tgz","fileCount":7,"integrity":"sha512-oe51yLVB+FiDVnHvHqEtIyOiH9upHh2u8WLUDFxKQDf2KeG7nBwLaNc6htF4yN3fzKGntC/LW6C/8FQZK7R+KA==","signatures":[{"sig":"MEQCIASYXjFN+tA4VD9FOL+gkQpUzIvtADeUBBkJx7YNgIl3AiBfnRiDxCbxU10xgULbO1QmyWjSAX90AptGh+QpT8QmJg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40276},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js","./content-gate":"./content-gate.js"},"gitHead":"4c0fd3f31c9baf8c6db9cb9235f927c22b656ce9","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.3.1_1772683987143_0.43341884546696385","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@agenttoll/sdk","version":"1.3.2","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.3.2","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://www.agenttoll.xyz/docs","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"dist":{"shasum":"cff5243a8a9fca2073bf7b98e5f9c2a96615a23d","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.3.2.tgz","fileCount":7,"integrity":"sha512-fZWlQUAjsA88ovedvNPiRO5utKCLIDWyFuJ5rkI87PyDuAN3SKZbiZUNEcWm19vOLFK498H1JqkQmBMw4yhWeQ==","signatures":[{"sig":"MEYCIQC1zx9bO9fzJB3W0QyiOdAf5kcKtWx7bfkvYk6HROTDiAIhALjBg7sNnbyFwQjkro8XfiYspf4FZXtqJ4SjCBfaY5ZF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40290},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js","./content-gate":"./content-gate.js"},"gitHead":"a4980b569a5191eb436f0f30f6c9b9c377d88832","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.3.2_1772684969015_0.10139977440915704","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@agenttoll/sdk","version":"1.4.1","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.4.1","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://www.agenttoll.xyz/docs","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"bin":{"agenttoll":"cli.js"},"dist":{"shasum":"7504fa7bea43ed2f018b8b546fdfa5d17e7ef3b9","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.4.1.tgz","fileCount":8,"integrity":"sha512-PjH5xsKZR3yiVY6oza5VWPyoadi2E8GZQvY4vtBUz6VAzn2EJzNnDkZIGMjrsTsFOXgzst1SicDLFf7cOUArXw==","signatures":[{"sig":"MEUCIQDvDXvCvuGdIz0pJ7p0yMGj98sDvlh5mCVvibOCXNcsFQIgRrJKrBU1zoWOiYBy2Rll35jvFK/mwML46a7k9imkirQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50661},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js","./content-gate":"./content-gate.js"},"gitHead":"a4980b569a5191eb436f0f30f6c9b9c377d88832","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.4.1_1772736588047_0.7773359520831371","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@agenttoll/sdk","version":"1.4.2","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.4.2","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://www.agenttoll.xyz/docs","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"bin":{"agenttoll":"cli.js"},"dist":{"shasum":"738dd3c441058c9c26879daddc528735f2e47f8e","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.4.2.tgz","fileCount":8,"integrity":"sha512-LViGgPm0Adsx28PX4fr50EFDd6q6f8qKQ8n6DhK6qwOVHHVKhHwXH+eArFFJAi+9SM9W0tZltxBSMaiPNdS82g==","signatures":[{"sig":"MEQCIGQgyhaIb+7cWysQM/ci6iPYt3vVpEpAdR+8qz9n/zoCAiBt9X5x4q/EziR4nK58vbEVOz20ntBDnUtz6MEIJv1Bug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61707},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js","./content-gate":"./content-gate.js"},"gitHead":"d11938d890c364256654d82a927aa71695cf7c79","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.4.2_1772738710487_0.9479108502769","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"@agenttoll/sdk","version":"1.4.3","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.4.3","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://www.agenttoll.xyz/docs","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"bin":{"agenttoll":"cli.js"},"dist":{"shasum":"bfcef4e446d8a5c9efb85d7bbe1e90a7555fe307","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.4.3.tgz","fileCount":8,"integrity":"sha512-W0XUDGWGpcmm8SLQuzXQMToJLBR1ax+EA4qAvC7Jsuf0hkBYbpmnDAvOEqafy7WI0GvmsV1Zgn42eM1U+BNsaQ==","signatures":[{"sig":"MEQCIEqALTk5BMYKfEPGNVzkwahsRTQ0sOVIVI2X6SH9oz1UAiAQrzrGKIctNeyoAR5k0jZdauj+B9caVKbIlz44na09EQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61730},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js","./content-gate":"./content-gate.js"},"gitHead":"f0af2f2cd960997ed191793802af41e952a01e21","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.4.3_1772739492454_0.05360400468545934","host":"s3://npm-registry-packages-npm-production"}},"1.4.4":{"name":"@agenttoll/sdk","version":"1.4.4","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.4.4","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://www.agenttoll.xyz/docs","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"bin":{"agenttoll":"cli.js"},"dist":{"shasum":"b1dee15b9dcc53c1aeb80177e3fed651e804269b","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.4.4.tgz","fileCount":8,"integrity":"sha512-yw3tgvIwzSt3QVNlBf4L1J+6gXuxA2ON4zGHnoQT3oeVEj18GXRFfBo9+Cob2+OdzQ6JvqJpUw9v9lvbxAb7Ww==","signatures":[{"sig":"MEQCIDYafhV85y7vkFBq2zv5k+o0RtAbyzQbN2/biA+Kd0MsAiBykTXuzpPPoGCytbAUrZxp+nlinI6D2ENF4BXydVgj6Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62504},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js","./content-gate":"./content-gate.js"},"gitHead":"4b1c0edbec7ea89a21da446a60ee4649ef0021bc","scripts":{"postinstall":"node -e \"console.log('\\n⚡ Run \\x1b[1mnpx agenttoll init\\x1b[0m to set up your API key\\n')\""},"_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.4.4_1772815138668_0.9136776394861827","host":"s3://npm-registry-packages-npm-production"}},"1.4.5":{"name":"@agenttoll/sdk","version":"1.4.5","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.4.5","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://www.agenttoll.xyz/docs","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"bin":{"agenttoll":"cli.js"},"dist":{"shasum":"5db5a2504cb526f2a7e0e01097883b4cd64554fa","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.4.5.tgz","fileCount":9,"integrity":"sha512-LQBh8gNtpm/tu0l6R6JsSKM/2DYFpxE/qqTMBZFhVwUqRa18No/vlqKahSaN90piM3B4KKwPC4nOBfZ22Pc7sA==","signatures":[{"sig":"MEUCIHhMUP3U0UxjCgs49iLlYbKLY4WjEBq7jt3MG2WrgapCAiEAuD1Zunier0lu2u2pvGQJUJiOUhDdJlFEuIkKP/15ytw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62688},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js","./content-gate":"./content-gate.js"},"gitHead":"aa37ded2e55c59308e9f6c43324e9dd497455134","scripts":{"postinstall":"node postinstall.js"},"_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.4.5_1772815457302_0.32081443078023986","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@agenttoll/sdk","version":"1.5.0","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.5.0","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://www.agenttoll.xyz/docs","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"bin":{"agenttoll":"cli.js"},"dist":{"shasum":"3bc3366465a0b9739ee00859d98c84e17cc1d760","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.5.0.tgz","fileCount":8,"integrity":"sha512-uGsQq5bL/FdTEcLKMgvWrD5aRUvPi6ON/HWQsOudnPPYmP9Pp1QeNRUHXgQ+lI8zQSdnpN4C/WBYxgRvCFa/7A==","signatures":[{"sig":"MEUCIQDPOfj/0FPpNWI8dBlSEciYl6e47Yf4vL1w9Z6zq9Y1kAIgDpjXEND4b1G32UH3bpGW0w/Otv+t9X2qrQ9upV1yajo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63935},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js","./content-gate":"./content-gate.js"},"gitHead":"aa37ded2e55c59308e9f6c43324e9dd497455134","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.5.0_1772815652861_0.930575033847616","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"@agenttoll/sdk","version":"1.5.1","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","_id":"@agenttoll/sdk@1.5.1","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"homepage":"https://www.agenttoll.xyz/docs","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"bin":{"agenttoll":"cli.js"},"dist":{"shasum":"b2d3474cae640b823a3f60ef9ce0bf72505c444a","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.5.1.tgz","fileCount":8,"integrity":"sha512-P5OVL4O7XG4uVNnlDXB5ArigoJc7NsQvfwfk+uo+dxDiq2/g4jfcCVFwql4GrJiwRtqhA2GR6CTmuTT9ZqPH1g==","signatures":[{"sig":"MEYCIQDWsPnnGIEvTQ8Rg1Fqsmt/aEXt+2vci/FRWTQOXK7wmAIhAPMznBN5zfoB4ZAjYjgnvOGJ4oP9P9DhXqUKNuE+gL6l","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63806},"main":"tollbooth.js","type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js","./content-gate":"./content-gate.js"},"gitHead":"2a973fccc1909e4dce7ca593e4f42cef42eea1e2","_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"repository":{"url":"git+https://github.com/agenttoll/sdk.git","type":"git"},"_npmVersion":"11.0.0","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_1.5.1_1772817520115_0.41691754222221844","host":"s3://npm-registry-packages-npm-production"}},"1.5.2":{"name":"@agenttoll/sdk","version":"1.5.2","description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","main":"tollbooth.js","exports":{".":"./tollbooth.js","./edge":"./tollbooth-edge.js","./next":"./tollbooth-edge.js","./tool":"./agenttoll-tool.js","./content-gate":"./content-gate.js"},"bin":{"agenttoll":"cli.js"},"type":"module","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"author":{"name":"AgentToll"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/agenttoll/sdk.git"},"homepage":"https://www.agenttoll.xyz/docs","engines":{"node":">=18.0.0"},"_id":"@agenttoll/sdk@1.5.2","gitHead":"89e531146006bc2649ad2d761a34eb8081d92f69","bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"_nodeVersion":"22.12.0","_npmVersion":"11.0.0","dist":{"integrity":"sha512-Vb0qYd6xiGXkb/JUBA6w+MaQRubmB+XFpgVosUuaGUvycXO8Y1haa2S9IruWxZckS/7VXwjy4iP8j4J3AD7l4Q==","shasum":"e8d7e2970e76584a142bb56f21d0da25f77b9e25","tarball":"https://registry.npmjs.org/@agenttoll/sdk/-/sdk-1.5.2.tgz","fileCount":8,"unpackedSize":63660,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGggPwI6limsULzSrNDjm5g2WSyQ9M+CMHhK+y73BVBYAiEA0MfYhAHjLxZxIEQYlB2hV2zbJu5w43tLi7Wxw0fo0RA="}]},"_npmUser":{"name":"grant6","email":"granteakins6@gmail.com"},"directories":{},"maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_1.5.2_1772819383696_0.05620320382748889"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-17T21:02:35.286Z","modified":"2026-03-06T17:49:43.964Z","1.0.0":"2026-02-17T21:02:35.591Z","1.0.1":"2026-02-17T21:06:05.676Z","1.0.2":"2026-02-17T21:24:52.697Z","1.1.0":"2026-03-03T04:00:59.863Z","1.2.0":"2026-03-03T04:40:07.981Z","1.3.0":"2026-03-05T03:56:22.992Z","1.3.1":"2026-03-05T04:13:07.284Z","1.3.2":"2026-03-05T04:29:29.165Z","1.4.1":"2026-03-05T18:49:48.199Z","1.4.2":"2026-03-05T19:25:10.653Z","1.4.3":"2026-03-05T19:38:12.624Z","1.4.4":"2026-03-06T16:38:58.820Z","1.4.5":"2026-03-06T16:44:17.438Z","1.5.0":"2026-03-06T16:47:33.023Z","1.5.1":"2026-03-06T17:18:40.295Z","1.5.2":"2026-03-06T17:49:43.847Z"},"bugs":{"url":"https://github.com/agenttoll/sdk/issues"},"author":{"name":"AgentToll"},"license":"MIT","homepage":"https://www.agenttoll.xyz/docs","keywords":["agenttoll","openclaw","ai-agents","micropayments","x402","solana","base","tollbooth","express-middleware","cloudflare-workers"],"repository":{"type":"git","url":"git+https://github.com/agenttoll/sdk.git"},"description":"One-line micropayment integration for AI agents - Express, Cloudflare Workers, Vercel Edge, MCP, Browser","maintainers":[{"name":"grant6","email":"granteakins6@gmail.com"}],"readme":"# AgentToll SDK\r\n\r\nOne-line micropayment integration for AI agents.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @agenttoll/sdk\r\n```\r\n\r\n## Quick Start\r\n\r\n### 1. Get Your API Key\r\n\r\nThe fastest way — one command, writes your `.env` automatically:\r\n\r\n```bash\r\nnpx agenttoll init\r\n```\r\n\r\nThis will:\r\n- Generate or accept your Solana / Base wallet\r\n- Register your project and create an API key\r\n- Configure pricing, access mode, and duration\r\n- Write `AGENTTOLL_KEY=pk_...` to your `.env`\r\n\r\n**Options:**\r\n\r\n```bash\r\nnpx agenttoll init                                  # Interactive setup\r\nnpx agenttoll init <WALLET>                          # Quick (auto-detect chain)\r\nnpx agenttoll init --solana <ADDR> --base <0xADDR>   # Both wallets\r\nnpx agenttoll init -y --solana <ADDR>                # Non-interactive (defaults)\r\n```\r\n\r\nOr register manually:\r\n\r\n```javascript\r\nconst response = await fetch('https://www.agenttoll.xyz/api/publisher/register', {\r\n  method: 'POST',\r\n  headers: { 'Content-Type': 'application/json' },\r\n  body: JSON.stringify({\r\n    name: 'My API',\r\n    wallet_address: 'YourSolanaWallet'\r\n  })\r\n});\r\nconst { api_key } = await response.json();\r\n```\r\n\r\nOr use the web dashboard at [www.agenttoll.xyz/dashboard](https://www.agenttoll.xyz/dashboard)\r\n\r\n### 2. Add to Your Server\r\n\r\n```javascript\r\nimport tollbooth from '@agenttoll/sdk';\r\n\r\n// Toll all agents, let humans through free\r\napp.use(tollbooth(process.env.AGENTTOLL_KEY, {\r\n  amount: 0.05,         // USDC per request\r\n  freeForHumans: true   // Browsers pass free\r\n}));\r\n\r\n// Or use the convenience method\r\napp.use(tollbooth.agentsOnly(process.env.AGENTTOLL_KEY));\r\n```\r\n\r\n## SDK Options\r\n\r\n```javascript\r\ntollbooth(apiKey, {\r\n  amount: 0.05,            // USDC to charge (default: 0.05)\r\n  freeForHumans: false,    // Let browsers through free\r\n  paths: ['*'],            // Routes to toll (glob patterns)\r\n  walletAddress: null,     // Override default wallet\r\n  bypassHeader: null       // Header for internal bypass\r\n});\r\n```\r\n\r\n## Convenience Methods\r\n\r\n```javascript\r\n// Toll only AI agents\r\ntollbooth.agentsOnly(apiKey, options)\r\n\r\n// Protect single route\r\ntollbooth.protect(apiKey, options)\r\n\r\n// Check if paid\r\ntollbooth.hasPaid(req)  // boolean\r\n\r\n// Check if AI agent\r\ntollbooth.isAgent(req)  // boolean\r\n```\r\n\r\n## Cloudflare Workers / Edge\r\n\r\n```javascript\r\nimport { tollgate } from '@agenttoll/sdk/edge';\r\n\r\nexport default tollgate(PUBLISHER_KEY, { amount: 0.01 });\r\n```\r\n\r\n## Content Gate (HTML Pages)\r\n\r\nProtect HTML pages from agentic crawlers (Perplexity, SearchGPT, etc.):\r\n\r\n```javascript\r\nimport { contentGate, generateRobotsTxt } from '@agenttoll/sdk/content-gate';\r\n\r\n// Serve gated HTML — real browsers pass, agents get 402\r\napp.use(contentGate(PUBLISHER_KEY, { amount: 0.05 }));\r\n\r\n// Auto-generate robots.txt with x402 payment signals\r\napp.get('/robots.txt', (req, res) => {\r\n  res.type('text/plain').send(generateRobotsTxt({ publisherKey: PUBLISHER_KEY }));\r\n});\r\n```\r\n\r\n## Browser Gate (Client-Side)\r\n\r\nDetect headless/agentic browsers (Puppeteer, Playwright, Selenium) on the client:\r\n\r\n```html\r\n<script src=\"https://www.agenttoll.xyz/js/browser-gate.js\"\r\n        data-publisher-key=\"YOUR_KEY\"\r\n        data-amount=\"0.05\">\r\n</script>\r\n```\r\n\r\nDetects: `navigator.webdriver`, HeadlessChrome, Selenium markers, Playwright markers, CDP indicators, missing plugins, and 15+ other signals.\r\n\r\n## MCP Payment Proxy\r\n\r\nPaywall any MCP server without modifying it:\r\n\r\n```bash\r\n# Register your MCP server\r\ncurl -X POST https://www.agenttoll.xyz/api/mcp/register \\\r\n  -H \"X-Publisher-Key: YOUR_KEY\" \\\r\n  -H \"Content-Type: application/json\" \\\r\n  -d '{\"upstream_url\": \"http://localhost:8080/mcp\", \"name\": \"My MCP Server\"}'\r\n```\r\n\r\nThen point agents to the proxy URL. Free methods (tools/list, initialize) pass through; paid methods return 402 with payment instructions.\r\n\r\n## Full Documentation\r\n\r\nSee [www.agenttoll.xyz/docs](https://www.agenttoll.xyz/docs)\r\n","readmeFilename":"README.md"}