{
  "id": "blueprint-cc-ledger",
  "name": "CC Ledger",
  "description": "Canton Network infrastructure for developers and AI agents. 15 REST endpoints and 15 MCP tools. 50 trial transactions included with every API key. Auto-deposit: send CC from your Loop wallet to the Blueprint validator and your balance is credited within seconds. Every action creates an immutable on-chain record on Canton MainNet with cryptographic proof. Pricing: 2.0 CC base per standard action, 5.0 CC base per mutual attestation. Discount based on real-time on-chain CCL holdings in your Canton wallet (up to ~50% off). Every 10 paid actions mints 1 CCL on-chain token (CIP-56). Two ways to use CCL: HOLD in wallet for discount, or SEND to CC Ledger for 1:1 CC prepay credit (1 CCL = 1 CC).",
  "url": "https://ccledger.theblueprint.xyz",
  "provider": {
    "organization": "Blueprint Infrastructure, LLC",
    "url": "https://theblueprint.xyz",
    "parentOrganization": {
      "name": "Hivemind Capital Partners",
      "url": "https://www.hivemind.capital"
    }
  },
  "version": "3.4.0",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false
  },
  "skills": [
    {
      "id": "register",
      "name": "Register API Key",
      "description": "Self-service API key registration. No approval needed. Returns key instantly with 50 trial transactions included. Include your cantonParty field (from your Loop wallet) to enable auto-deposit — the background service matches incoming CC from this party. CCL tokens are minted to this address on-chain. If not set at registration, the first deposit permanently binds the sender party.",
      "tags": ["registration", "api-key", "onboarding", "canton-party"],
      "examples": [
        {
          "input": "Register for a CC Ledger API key for my trading app with my Canton party ID",
          "output": "API key created: cb_community_... (community tier, 10 RPM, cantonParty: user-party::1220abc...)"
        }
      ]
    },
    {
      "id": "attest",
      "name": "On-Chain Attestation",
      "description": "Record data integrity proofs, audit trails, and compliance records on Canton MainNet.",
      "tags": ["attestation", "proof", "audit", "compliance", "canton"],
      "examples": [
        {
          "input": "Attest the SHA-256 hash of this document on Canton",
          "output": "Attestation confirmed. Contract ID: 005a1b... Ledger offset: 2001542"
        }
      ]
    },
    {
      "id": "transfer",
      "name": "Asset Transfer Recording",
      "description": "Record asset transfers, token movements, and payment records on Canton MainNet.",
      "tags": ["transfer", "payment", "asset", "token", "canton"],
      "examples": [
        {
          "input": "Record a transfer of 1000 USDC from alice to bob",
          "output": "Transfer confirmed on-chain with cryptographic proof."
        }
      ]
    },
    {
      "id": "lock-unlock",
      "name": "Asset Lock/Unlock",
      "description": "Record asset locking (escrow, collateral, time-locks) and unlocking events on Canton MainNet.",
      "tags": ["lock", "unlock", "escrow", "collateral", "time-lock", "canton"]
    },
    {
      "id": "mint",
      "name": "Token Minting",
      "description": "Record token creation, NFT minting, and certificate issuance on Canton MainNet.",
      "tags": ["mint", "token", "nft", "certificate", "canton"]
    },
    {
      "id": "settle",
      "name": "Trade Settlement",
      "description": "Record trade settlement, payment finalization, and batch close on Canton MainNet. Uses trial credits or paid tier (2.0 CC).",
      "tags": ["settlement", "trade", "payment", "finalization", "canton"]
    },
    {
      "id": "attest-mutual",
      "name": "Mutual Attestation",
      "description": "Create a mutual attestation proposal requiring co-signature from an attestor party for non-repudiation. Uses trial credits or paid tier (5.0 CC).",
      "tags": ["attestation", "mutual", "non-repudiation", "signing", "canton"]
    },
    {
      "id": "balance",
      "name": "Balance & Auto-Deposit",
      "description": "Check CC balance, CCL balance, on-chain CCL holdings (cclOnchainHoldings drives discount in real-time), tier status, and discounted action rates. Discount based on real on-chain CCL in your Canton wallet. CC deposits are auto-detected: send CC from your Loop wallet to the Blueprint validator and your balance is credited within seconds. No API call needed. POST /deposit exists as a manual fallback.",
      "tags": ["balance", "deposit", "auto-deposit", "funding", "coinbase", "loop", "canton"]
    },
    {
      "id": "query",
      "name": "Action Query",
      "description": "List and retrieve past actions with full on-chain proof. Filter by app, type, and pagination.",
      "tags": ["query", "actions", "history", "proof", "audit"]
    },
    {
      "id": "stats",
      "name": "Network Statistics",
      "description": "Public endpoint returning Canton Network statistics — total actions, active apps, and uptime. No auth required.",
      "tags": ["stats", "monitoring", "health", "public"]
    },
    {
      "id": "ccl-discount",
      "name": "CCL Builder Rewards",
      "description": "Discount based on REAL on-chain CCL holdings in your Canton wallet (cclOnchainHoldings), tracked in real-time. Formula: discount = 50% * (1 - 1/(1 + cclOnchainHoldings/200)). Two ways to use CCL: HOLD in wallet for discount, or SEND to CC Ledger for 1:1 CC prepay credit (1 CCL = 1 CC). Earn 1 CCL per 10 paid actions. Transfer via Loop wallet, trade on any Canton DEX.",
      "tags": ["ccl", "discount", "token", "cip-56", "canton"],
      "examples": [
        {
          "input": "Check my CCL balance and discount",
          "output": "cclOnchainHoldings: 100.0, discount: 16.7%, discounted cost: 1.667 CC/action, 4.167 CC/mutual (via GET /balance)"
        }
      ]
    }
  ],
  "interfaces": [
    {
      "type": "rest",
      "url": "https://ccledger.theblueprint.xyz/api/v1",
      "specUrl": "https://ccledger.theblueprint.xyz/openapi.json",
      "specType": "openapi",
      "specVersion": "3.1.0"
    },
    {
      "type": "mcp",
      "url": "https://ccledger.theblueprint.xyz/mcp",
      "transport": "streamable-http",
      "toolCount": 15
    }
  ],
  "securitySchemes": {
    "apiKey": {
      "type": "apiKey",
      "in": "header",
      "name": "X-Api-Key",
      "description": "Self-service API key from POST /api/v1/community/register. No approval needed."
    }
  },
  "documentation": {
    "llmsTxt": "https://ccledger.theblueprint.xyz/llms.txt",
    "llmsFullTxt": "https://ccledger.theblueprint.xyz/llms-full.txt",
    "humanDocs": "https://ccledger.theblueprint.xyz/docs/",
    "apiExplorer": "https://ccledger.theblueprint.xyz/api-docs/"
  },
  "health": "https://ccledger.theblueprint.xyz/actuator/health",
  "support": {
    "email": "contact@theblueprint.xyz",
    "url": "https://theblueprint.xyz"
  }
}
