← Market

X402 · Crypto

Returns the AliceHub chain id and head block and, when an address is given, the CDT, POC, TKN and CPT balances of that address, as JSON. Read-only, no market prices. Input: address (optional, 0x followed by 40 hex characters). Example: GET /x402/crypto?address=0x0000000000000000000000000000000000000000

GET https://api.alicehub.app/x402/crypto

0.02 USDC on Base · payTo 0x8E0014b38f3300f922100F2973b1bC749A626841

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.02 USDC · payTo 0x8E0014b38f3300f922100F2973b1bC749A626841 · via cdp · settles direct
{
  "address": "0x0000000000000000000000000000000000000000"
}
{
  "balances": {
    "address": "0x0000000000000000000000000000000000000000",
    "cdt": 0,
    "cpt": 0,
    "poc": 0,
    "raw": {
      "CDT": "0",
      "CPT": "0",
      "POC": "0",
      "TKN": "0"
    },
    "tkn": 0
  },
  "chain": {
    "chain_id": 1,
    "head": 123456
  },
  "kind": "chain-snapshot",
  "service": "alicehub"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

GET https://api.alicehub.app/x402/crypto · input in query · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "optional wallet address to read balances for"
    }
  }
}
Output schema
{
  "type": "object",
  "required": [
    "service",
    "kind",
    "chain"
  ],
  "properties": {
    "service": {
      "type": "string",
      "const": "alicehub"
    },
    "kind": {
      "type": "string",
      "const": "chain-snapshot"
    },
    "chain": {
      "type": "object",
      "properties": {
        "chain_id": {
          "type": "integer"
        },
        "head": {
          "type": "integer"
        }
      }
    },
    "balances": {
      "type": "object",
      "description": "only when ?address= is given: human amounts + raw wei strings",
      "properties": {
        "address": {
          "type": "string"
        },
        "cdt": {
          "type": "number"
        },
        "poc": {
          "type": "number"
        },
        "tkn": {
          "type": "number"
        },
        "cpt": {
          "type": "number"
        },
        "raw": {
          "type": "object"
        }
      }
    }
  }
}
curl -i -X GET 'https://api.alicehub.app/x402/crypto?address=0x0000000000000000000000000000000000000000'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)