A high-performance, stateless Web3 security and liquidity micro-API running natively on Cloudflare Workers edge. Built on the x402 open standard (co-developed by Coinbase CDP and Cloudflare), this engine provides automated security checks, liquidation sentinels, and dynamic DEX quoter data to autonomous AI agents, MEV searchers, and algorithmic trading bots with 0% merchant gas deduction and instant off-chain EIP-3009 cryptographic verification.
- Live Base URL:
https://x402-data-engine.mablockcn.workers.dev - Machine Discovery Manifest:
https://x402-data-engine.mablockcn.workers.dev/.well-known/x402 - Health Check:
https://x402-data-engine.mablockcn.workers.dev/health - Pricing & Quotes:
https://x402-data-engine.mablockcn.workers.dev/v1/quote
| Endpoint | Method | Description | Price (USDC) | Settling Networks |
|---|---|---|---|---|
/v1/simulate-honeypot |
GET |
Simulates token transfers and detects scam/tax bytecode | $0.02 | Base, Polygon |
/v1/aave-liquidations |
GET |
Real-time health factor & debt audit for Aave v3 positions | $0.05 | Base, Polygon |
/v1/decode-abi |
POST |
Stateless zero-dependency calldata & event decoder | $0.01 | Base, Polygon |
/v1/dex-slippage |
GET |
Multi-pool slippage, tick liquidity & impact analysis | $0.01 | Base, Polygon |
The engine enforces dual-network settlement via Circle Native USDC on Base (eip155:8453) and Polygon (eip155:137):
- Target Payout Wallet:
0x267e548ab3444aa0a671914ac7c644306a6b90b4 - Base Native USDC:
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 - Polygon Native USDC:
0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359 - Facilitator Relayers:
https://x402.org/facilitator&https://api.cdp.coinbase.com/platform/v1/x402/facilitator
Buyers sign an off-chain transferWithAuthorization message (EIP-3009). The payment facilitator broadcasts the transaction and pays 100% of the blockchain gas fee.
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY as `0x${string}`);
const client = createWalletClient({ account, chain: base, transport: http() });
// Query manifest for prices
const manifest = await fetch("https://x402-data-engine.mablockcn.workers.dev/.well-known/x402").then(r => r.json());import requests
# 1. Fetch live quotes
quotes = requests.get("https://x402-data-engine.mablockcn.workers.dev/v1/quote").json()
print("Active service prices:", quotes["pricing"])
# 2. Query endpoint (receives 402 challenge with exact payment requirements)
resp = requests.get("https://x402-data-engine.mablockcn.workers.dev/v1/simulate-honeypot?token=0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359")
print("Status:", resp.status_code) # 402 Payment Required
print("Requirements:", resp.json()["networks"])MIT License. Maintained by MaaBlock.