{
  "schemaVersion": "1.0",
  "name": "BSCJS",
  "description": "BSCJS 官方认购接口发现；无需 API 密钥，只准备交易，不签名、不广播。",
  "website": "https://xixi.heyue.app/",
  "chain": {
    "name": "BNB Smart Chain Mainnet",
    "chainId": 56,
    "nativeCurrency": "BNB"
  },
  "contracts": {
    "token": "0x2c684573AB85E6AF723b5A0CCE05D7F5f0352fFb",
    "mint": "0x716bae2d553938821c1F9388c7C41B75E527401B",
    "gateway": "0xc0253b13f782738E30010257880EdC9c4Da881Bb",
    "usdt": "0x55d398326f99059fF775485246999027B3197955"
  },
  "links": {
    "instructions": "https://xixi.heyue.app/ai/mint.md",
    "openapi": "https://xixi.heyue.app/ai/openapi.json",
    "llms": "https://xixi.heyue.app/llms.txt",
    "mintAbi": "https://xixi.heyue.app/downloads/bscjs-mint-abi.json"
  },
  "api": {
    "baseUrl": "https://xixi.heyue.app",
    "authentication": "none",
    "project": {
      "method": "GET",
      "path": "/api/mint/project"
    },
    "prepare": {
      "method": "GET",
      "path": "/api/mint/prepare",
      "parameters": {
        "account": "Actual connected wallet, full 0x address; required.",
        "shares": "Requested shares, integer 1-10.",
        "payment": "USDT or BNB.",
        "referrer": "Optional full wallet address; default zero address.",
        "maxUsdt": "USDT payment only: optional user-approved USDT cost ceiling as a decimal string, at most 18 decimals. Rejected for BNB payment.",
        "maxBnb": "BNB payment only: optional user-approved BNB payment ceiling as a decimal string, at most 18 decimals. Gas is additional. Rejected for USDT payment; cannot enforce a USDT-denominated ceiling."
      }
    }
  },
  "execution": {
    "readOnly": true,
    "signsTransactions": false,
    "broadcastsTransactions": false,
    "walletConfirmationRequired": true,
    "requiresApiKey": false,
    "usdtDecimals": 18,
    "nativeDecimals": 18,
    "rawTransactionQuantities": "RPC hexadecimal strings; chainId is 0x38 and value is in wei.",
    "nonceProtection": "Before signing, both latest and pending wallet transaction counts must equal transaction.nonce. Stop on PENDING_TRANSACTION or NONCE_CHANGED; never substitute a nonce or blindly resend a purchase.",
    "afterApproval": "Wait for confirmed successful approval, then prepare again with the same requested shares, account, payment, referrer and user-approved budgets.",
    "oracleRecovery": "When oracleReady is false, recovery contains a separate, unsimulated maintenance transactionTemplate. It is not a ready Mint transaction and must not be automatically signed or sent. Review maintenance separately, honor waitSeconds/twapWindow, then reread readiness and reprepare.",
    "directTransfersMint": false
  }
}
