{
  "what": "Any of the six answers this project sells, one payment each, delivered at once — no escrow, no job, no dispute window.",
  "price": "0.10 USD1 per answer — USD1 by EIP-3009 (signed, we settle), USDC by standard x402 (Permit2), USD1 by direct transfer, or half that price in $BOBAI, quoted on each 402",
  "services": [
    {
      "id": "health_factor",
      "name": "Venus health factor & liquidation distance",
      "needs": {
        "address": "the account whose position to read (0x…)"
      },
      "terms": "POST https://agent.brainonbnb.com/answer?service=health_factor",
      "example": "https://agent.brainonbnb.com/example?service=health_factor"
    },
    {
      "id": "grid_plan",
      "name": "Grid trading plan, costed against the real pool",
      "needs": {
        "token": "the token or pool to grid (0x…)",
        "capitalUsd": "total capital, optional",
        "levels": "number of levels, optional",
        "bandPct": "range as ± percent, optional"
      },
      "terms": "POST https://agent.brainonbnb.com/answer?service=grid_plan",
      "example": "https://agent.brainonbnb.com/example?service=grid_plan"
    },
    {
      "id": "yield_plan",
      "name": "Venus yield ranking, and whether moving pays for itself",
      "needs": {
        "amountUsd": "position size in USD, optional",
        "from": "the Venus market held today, optional",
        "currentApyPct": "what you earn today, optional"
      },
      "terms": "POST https://agent.brainonbnb.com/answer?service=yield_plan",
      "example": "https://agent.brainonbnb.com/example?service=yield_plan"
    },
    {
      "id": "rebalance_plan",
      "name": "Portfolio rebalance, priced against the pools that would execute it",
      "needs": {
        "holdings": "array of { token: \"0x…\", usd: 1000 }, optional when a position is named",
        "targets": "optional map of token → target weight in percent; equal weight if omitted",
        "position": "a PancakeSwap V3 position id, or the wallet that holds the positions (0x…), for a range check, optional"
      },
      "terms": "POST https://agent.brainonbnb.com/answer?service=rebalance_plan",
      "example": "https://agent.brainonbnb.com/example?service=rebalance_plan"
    },
    {
      "id": "lp_tier_plan",
      "name": "Which PancakeSwap fee tier is actually paying its liquidity providers",
      "needs": {
        "token": "the token or PancakeSwap pool to compare tiers for (0x…)",
        "capitalUsd": "how much liquidity you are placing, optional — defaults to 1000"
      },
      "terms": "POST https://agent.brainonbnb.com/answer?service=lp_tier_plan",
      "example": "https://agent.brainonbnb.com/example?service=lp_tier_plan"
    },
    {
      "id": "lp_position_plan",
      "name": "The DeFi agent, on your position",
      "needs": {
        "position": "the PancakeSwap V3 position id (tokenId)",
        "address": "or the wallet that holds exactly one position (0x…)"
      },
      "terms": "POST https://agent.brainonbnb.com/answer?service=lp_position_plan",
      "example": "https://agent.brainonbnb.com/example?service=lp_position_plan"
    }
  ],
  "how": "POST (or GET) /answer?service=<id> once without payment: the 402 names the price and the wallet. Pay, then repeat with the payment in X-PAYMENT or PAYMENT-SIGNATURE — POST with a body naming the task, or GET with ?task=… in the query.",
  "or_escrow": "The same answers through the ERC-8183 escrow: https://brainonbnb.com/registry",
  "holder_pass": {
    "line": "1,000,000 $BOBAI (token 0x245c386dcfed896f5c346107596141e5edcbffff, 18 decimals) in the signing wallet, read from the chain at each use",
    "allowance": "per wallet and UTC day: 20 answers, 2 pool watches and 1 pool scan day pass, nothing paid",
    "how": "Sign, with the wallet, the message \"BOBAI holder pass\\nwallet: <lowercase address>\\nissued: <ISO 8601 UTC time, e.g. new Date().toISOString()>\" (EIP-191 personal_sign — a signature, no transaction, nothing spent), then send the same request with header PAYMENT-SIGNATURE: bobai-holder <address> <issued> <signature>",
    "issued_within": "10 minutes before the request",
    "why": "Held, not spent: the tokens stay in your wallet.",
    "in_a_browser": "https://brainonbnb.com/pass — connect the wallet, sign, read the answer"
  },
  "catalogue": "https://agent.brainonbnb.com/.well-known/x402"
}