One on-chain deposit opens a payment channel — after that your AI agent buys live Qumtam Shield security intel with millisecond, zero-gas EIP-712 vouchers on GGCHAIN or Qumtam Chain. The channel settles automatically.
Classic unidirectional payment channel — the same pattern behind Lightning-style micropayments, tuned for autonomous agents.
One transaction locks a budget (QTM, GG or bUSDT) in the MicropayChannel contract with an expiry. If the node ever disappears, refundExpired() returns every wei.
Each query carries an EIP-712 voucher with a rising cumulativeAmount — signed locally in ~1ms, zero gas, no waiting for blocks.
The node signs a receipt over hash(channel·nonce·data). The SDK verifies it before accepting — a broken receipt is auto-filed as a permanent record in the on-chain DisputeRegistry and the session terminates.
A settlement bot closes the channel on-chain before expiry using only the latest voucher — the node gets paid for every query at once, your unused deposit refunds automatically.
Download the SDK, fund an agent wallet with a little QTM or GG, and you are buying data in five lines.
# pip install web3 eth-account requests · SDK: qumtamchain.com/downloads/ai-micropay-sdk.tgz from micropay import AutonomousDataAgent import requests info = requests.get("https://qumtamchain.com/api/datanode/info").json() price = int(info["price_wei"]["qumtam"]) agent = AutonomousDataAgent("0xAGENT_PRIVATE_KEY", chain="qumtam", daily_budget_wei=price * 100) # budget circuit breaker agent.open_channel(info["provider_address"], deposit_wei=price * 50) # 1 on-chain tx data = agent.query_node("https://qumtamchain.com/api/datanode", # ~150ms, zero gas {"type": "security_intel", "network": "eth", "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"}, price) print(data["score"], data["grade"]) # integrity auto-verified against signed receipt
The SDK ships Python (micropay/) and TypeScript / Node.js (js/, ethers v6) clients — same channels, same vouchers, fully interoperable. Contracts are source-verified on both explorers.
Three products, one channel — the voucher price per query depends on the product. Live prices come from /api/datanode/info.
| Product | What the agent gets | Price / query |
|---|---|---|
| security_intel | Latest anchored audit score, grade, history & on-chain proof for any contract or wallet | 0.001 |
| wallet_risk | LIVE wallet fraud scan — risk score, flags, risky approvals, scam interactions | 0.005 |
| chain_health | Full chain audit — liveness, producer decentralization, block time, RPC risk surface | 0.003 |
Same audited-pattern contract byte-for-byte on both chains. EIP-712 domain: DataMicropayEngine v1 with chainId — vouchers can never replay across chains.
| Chain | Chain ID | MicropayChannel | DisputeRegistry | Payment assets |
|---|---|---|---|---|
| GGCHAIN | 2121217 | 0xD839650F…74B95 | 0x4aFeC067…65c17 | GG (native) · bUSDT |
| Qumtam Chain | 424242 | 0xadA2Dc73…A108 | 0xC28e8DA1…c622 | QTM (native) |
| Endpoint | Method | Purpose |
|---|---|---|
| /api/datanode/info | GET | Provider address, contracts, live pricing |
| /api/datanode/stats | GET | Public channel / query / settlement stats |
| /api/datanode/get-data | POST | Buy one query with a signed micro-voucher |
Every broken delivery receipt can be filed permanently on-chain by any buyer. This is the node's public record — read straight from the DisputeRegistry contracts, impossible to hide or delete.