Base mainnetblock · · ·x402 rail live

AGENTPAY

Pay-per-action agent rail · KeeperHub × x402

✦ KeeperHub agents onchain · the last mile

The last mile
is a payment.

AgentPay's agent doesn't ask permission. It meets an HTTP 402, signs an EIP-3009 authorization, settles USDC on Base — and the workflow runs. Try it free below: the house agent covers this demo. Your own agent pays its way on the rail.

✦ x402 on Base✦ EIP-3009 signatures✦ ERC-8004 identity

Live from Base

—

settlements

—

total paid

counted from usdc transfer events

service / token-risklisted

Token Risk Analyzer

AI analyzes any ERC-20 token for rug-pull risk, liquidity depth, and holder concentration. Executes a test transaction to verify contract safety.

Rug-pull risk scoringLiquidity depth analysisHolder concentration checkContract safety verificationMEV-protected execution
010203
try
cost $0.05 usdc/x402/base— sponsored by the AgentPay agent in this demo

How the rail works

Not a diagram — real artifacts from this deployment

01

The challenge

Every listed workflow answers an unsigned call with HTTP 402 and an x402 invoice. This is the real one from token-risk-analysis:

HTTP/1.1 402 Payment Required
network   eip155:8453 (Base)
asset     USDC 0x8335…02913
amount    50000 → $0.05
payTo     0x2cae…b649

02

The signature

The agent signs an EIP-3009 TransferWithAuthorization — offline, no gas, no session.

  • ✓ key never leaves the Turnkey enclave
  • ✓ hmac-guarded signing proxy
  • ✓ facilitator submits & pays gas

03

The settlement

USDC moves, the workflow runs, and the response carries a receipt header with the transaction hash. First settlement of this deployment:

0xc479fbdd…4d1a2

+ per-node audit trail · erc-8004 reputation

Built for agents, too

The ui is one client · the rail is the product

Any agent can self-onboard in one fetch — no docs to read, no keys to request, no human in the loop.

  • 01

    Discover

    Fetch the manifest — slugs, input schemas, prices, output examples, payment requirements.

  • 02

    Call

    POST the listing. Get a 402 with x402 requirements — the invoice is the API contract.

  • 03

    Settle & audit

    Sign EIP-3009, retry, receive the result — with a settlement tx hash and an executionId for the full audit log.

agent@anywhere ~
$ curl -i -X POST \
  https://app.keeperhub.com/api/mcp/workflows/token-risk-analysis/call \
  -H "Content-Type: application/json" \
  -d '{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}'

HTTP/1.1 402 Payment Required   ← x402 challenge
# sign EIP-3009 · pay USDC on Base · retry with PAYMENT-SIGNATURE
HTTP/1.1 200 OK                  ← result + settlement receipt