{
  "schema_version": "1.3",
  "id": "com.scriptmasterlabs.efuel",
  "name": "SML ECHO Fuel (EFUEL)",
  "operator": "SCRIPTMASTERLABS",
  "legal_name": "Script Master Labs, LLC",
  "service": "https://squeezeos-api.onrender.com",
  "contract": "https://squeezeos-api.onrender.com/api/efuel/info",
  "classification": "closed-loop, non-transferable prepaid software execution credits",
  "machine_safety": {
    "authoritative_readiness": "https://squeezeos-api.onrender.com/api/efuel/info",
    "payment_is_not_authorized_by_this_manifest": true,
    "before_any_payment": "GET /api/efuel/info and require status=ready; then read the live HTTP 402 requirement from /api/efuel/credits",
    "accepted_delivery_only": true,
    "durable_ledger_required": true,
    "no_charge_when_unavailable": true
  },
  "economics": {
    "unit": "EFUEL",
    "usdc_per_efuel": "0.01",
    "efuel_per_usdc": "100",
    "default_x402_purchase": {
      "usdc": "1.00",
      "efuel": "100"
    },
    "purchase_range": {
      "minimum_usdc": "1.00",
      "maximum_usdc": "100.00",
      "increment_usdc": "0.01",
      "query_parameter": "usdc"
    },
    "transferable": false,
    "redeemable_for_cash": false,
    "investment_or_yield_product": false,
    "approved_assets": [
      "USDC on Base mainnet"
    ],
    "unknown_assets": "never credited"
  },
  "payment": {
    "protocol": "x402-v2",
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "USDC",
    "asset_address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "pay_to": "0x5bbd32e0478e49a7540ef2d760e0b0f9aa6328b2",
    "facilitator": "OMNIGATE",
    "challenge_header": "PAYMENT-REQUIRED",
    "request_header": "PAYMENT-SIGNATURE",
    "response_header": "PAYMENT-RESPONSE"
  },
  "agent_flow": [
    {
      "step": 1,
      "action": "Read the free readiness contract",
      "endpoint": "https://squeezeos-api.onrender.com/api/efuel/info"
    },
    {
      "step": 2,
      "action": "If status=ready, choose an amount from 1.00 through 100.00 USDC and request /api/efuel/credits?usdc=<amount>"
    },
    {
      "step": 3,
      "action": "Read and sign only the live PAYMENT-REQUIRED requirement returned for that exact amount"
    },
    {
      "step": 4,
      "action": "Retry with PAYMENT-SIGNATURE and require successful PAYMENT-RESPONSE settlement evidence before credit issuance is accepted"
    },
    {
      "step": 5,
      "action": "Use the issued EFUEL credential on EFUEL-enabled execution routes; non-accepted delivery must not consume EFUEL"
    },
    {
      "step": 6,
      "action": "For cross-service operations (mode debit_hold in operations), place a debit hold bound to the operation's request and delivery hashes, then present the debit_id to the operation; the service consumes the hold only to serve the bound delivery, and unconsumed holds expire back to your balance",
      "endpoint": "https://squeezeos-api.onrender.com/api/efuel/debit"
    }
  ],
  "endpoints": {
    "info": {
      "method": "GET",
      "url": "https://squeezeos-api.onrender.com/api/efuel/info",
      "free": true
    },
    "credits": {
      "method": "GET",
      "url": "https://squeezeos-api.onrender.com/api/efuel/credits",
      "query": {
        "usdc": "1.00-100.00"
      },
      "payment": "canonical x402 v2, only when info.status=ready"
    },
    "wallet_challenge": {
      "method": "POST",
      "url": "https://squeezeos-api.onrender.com/api/efuel/wallet/challenge"
    },
    "wallet_verify": {
      "method": "POST",
      "url": "https://squeezeos-api.onrender.com/api/efuel/wallet/verify",
      "signature_standard": "EIP-191 personal_sign"
    },
    "transfer_claim": {
      "method": "POST",
      "url": "https://squeezeos-api.onrender.com/api/efuel/claim",
      "requirements": [
        "verified wallet",
        "USDC Base transfer",
        "minimum confirmations"
      ]
    },
    "balance": {
      "method": "GET",
      "url": "https://squeezeos-api.onrender.com/api/efuel/balance",
      "credential": "X-EFUEL-KEY or Bearer"
    },
    "debit_create": {
      "method": "POST",
      "url": "https://squeezeos-api.onrender.com/api/efuel/debit",
      "credential": "X-EFUEL-KEY or Bearer",
      "body": {
        "service": "string",
        "amount_efuel": "string",
        "request_sha256": "sha256 hex",
        "delivery_sha256": "sha256 hex",
        "idempotency_key": "string"
      },
      "effect": "places a hold: the amount is deducted immediately and refunded automatically if the hold expires unconsumed"
    },
    "debit_status": {
      "method": "GET",
      "url": "https://squeezeos-api.onrender.com/api/efuel/debit/{debit_id}",
      "credential": "none - the debit_id is the capability",
      "returns": "service, amount, bindings and state only; never account identity"
    },
    "debit_consume": {
      "method": "POST",
      "url": "https://squeezeos-api.onrender.com/api/efuel/debit/{debit_id}/consume",
      "credential": "X-EFUEL-SERVICE-TOKEN (purchasing service only)",
      "effect": "finalizes the burn; called by the purchasing service only when serving the bound delivery"
    },
    "debit_release": {
      "method": "POST",
      "url": "https://squeezeos-api.onrender.com/api/efuel/debit/{debit_id}/release",
      "credential": "buyer key (own holds) or service token",
      "effect": "refunds a held hold"
    }
  },
  "discovery": {
    "mcp": "https://squeezeos-api.onrender.com/mcp?registry=scriptmasterlabs",
    "agents": "https://squeezeos-api.onrender.com/.well-known/agents.json",
    "catalog": "https://squeezeos-api.onrender.com/.well-known/catalog.json",
    "x402": "https://squeezeos-api.onrender.com/.well-known/x402",
    "openapi": "https://squeezeos-api.onrender.com/.well-known/openapi.json",
    "erc8004_agent": "https://squeezeos-api.onrender.com/.well-known/erc8004-agent.json"
  },
  "operations": [
    {
      "service": "agent-proof",
      "operation": "Rapid agent verification",
      "method": "GET",
      "efuel_endpoint": "https://squeezeos-api.onrender.com/api/agent-proof/rapid/efuel",
      "cost_efuel": "0.510000",
      "direct_price_usdc": "0.006",
      "direct_endpoint": "https://squeezeos-api.onrender.com/api/agent-proof/rapid",
      "mode": "in_process_guard",
      "pricing_note": "EFUEL price embeds a 15% prepaid discount vs direct settlement",
      "credential": "X-EFUEL-KEY or Bearer",
      "use_when": "Repeated verification calls where the 15% prepaid discount compounds.",
      "avoid_when": "A single one-off verification \u2014 direct settlement is simpler and leaves no balance behind."
    },
    {
      "service": "agent-proof",
      "operation": "Verified agent verification",
      "method": "GET",
      "efuel_endpoint": "https://squeezeos-api.onrender.com/api/agent-proof/verified/efuel",
      "cost_efuel": "0.765000",
      "direct_price_usdc": "0.009",
      "direct_endpoint": "https://squeezeos-api.onrender.com/api/agent-proof/verified",
      "mode": "in_process_guard",
      "pricing_note": "EFUEL price embeds a 15% prepaid discount vs direct settlement",
      "credential": "X-EFUEL-KEY or Bearer",
      "use_when": "Repeated verification calls where the 15% prepaid discount compounds.",
      "avoid_when": "A single one-off verification \u2014 direct settlement is simpler and leaves no balance behind."
    },
    {
      "service": "livewire",
      "operation": "Prediction-market intelligence",
      "method": "GET",
      "efuel_endpoint": "https://squeezeos-api.onrender.com/v1/livewire/prediction/intelligence/efuel",
      "cost_efuel": "0.100000",
      "direct_price_usdc": "0.001",
      "direct_endpoint": "https://squeezeos-api.onrender.com/v1/livewire/prediction/intelligence",
      "mode": "in_process_guard",
      "pricing_note": "par with direct settlement",
      "credential": "X-EFUEL-KEY or Bearer",
      "use_when": "Ongoing prediction-intelligence pulls at par with direct, without signing per call.",
      "avoid_when": "Nothing \u2014 par pricing; choose by convenience."
    },
    {
      "service": "crawldiff",
      "operation": "Web change detection between two snapshots (delivery hash-frozen before payment)",
      "method": "POST",
      "efuel_endpoint": "https://mcp-x402.onrender.com/v1/crawldiff/diff",
      "cost_efuel": {
        "pulse": "0.200000",
        "pro": "1.000000",
        "bulk": "2.500000"
      },
      "direct_price_usdc": {
        "pulse": "0.002",
        "pro": "0.010",
        "bulk": "0.025"
      },
      "direct_endpoint": "https://mcp-x402.onrender.com/v1/crawldiff/diff",
      "mode": "debit_hold",
      "pricing_note": "par with direct settlement; tier is a deterministic function of page count and is named in the 402 challenge",
      "credential": "debit_id in x-sml-efuel-debit header; the EFUEL key itself never leaves the ledger service",
      "flow": "POST the request unpaid -> read request_sha256 and delivery_sha256 from the 402 challenge -> POST /api/efuel/debit {service:'crawldiff', amount_efuel, request_sha256, delivery_sha256, idempotency_key} -> resubmit the same request with header x-sml-efuel-debit: <debit_id>",
      "use_when": "Repeated change-detection runs, especially Pulse-tier sub-cent diffs where direct settlement cost rivals the price.",
      "avoid_when": "A single diff at Pro/Bulk size \u2014 direct per-call settlement is proportionate there."
    },
    {
      "service": "truth",
      "operation": "Truth Layer \u2014 citation verification, dependency verification (OSV), MCP server scan, tool pinning/drift",
      "method": "POST",
      "efuel_endpoint": "https://mcp-x402.onrender.com/v1/truth/{verify-claims|verify-dependencies|scan-mcp|pin-tools}",
      "cost_efuel": "0.200000",
      "direct_price_usdc": "0.002",
      "direct_endpoint": "https://mcp-x402.onrender.com/v1/truth/{verify-claims|verify-dependencies|scan-mcp|pin-tools}",
      "mode": "debit_hold",
      "pricing_note": "flat per operation, par with direct settlement; result is computed and hash-frozen before payment",
      "credential": "debit_id in x-sml-efuel-debit header; the EFUEL key itself never leaves the ledger service",
      "flow": "POST the request unpaid -> read request_sha256 and delivery_sha256 from the 402 challenge -> POST /api/efuel/debit {service:'truth', amount_efuel:'0.200000', request_sha256, delivery_sha256, idempotency_key} -> resubmit the same request with header x-sml-efuel-debit: <debit_id>",
      "use_when": "Verification woven into an agent pipeline \u2014 repeated checks across any of the four operations from one balance.",
      "avoid_when": "A single check \u2014 pay the $0.002 direct and leave nothing behind."
    }
  ],
  "acceptance": {
    "principle": "No sale is lost because a wallet holds the wrong coin. EFUEL is the universal spend-side balance; SwapGate is the universal fund-side path.",
    "human_page": "https://scriptmasterlabs.com/pay-any-way",
    "fund_paths": [
      "USDC on Base via x402 credits ($1.00-$100.00)",
      "USDC on Base direct transfer, claimed after EIP-191 wallet verification",
      "Any other token or chain: swap/bridge to USDC on Base via SwapGate (LI.FI, integrator sml-swapgate, 0.5% integrator fee), then use either path above \u2014 two steps today, one flow when the integrated funding leg ships"
    ],
    "spend_rule": "The door's live 402 challenge is the contract: asset, chain, amount, recipient. Never pay from stale discovery."
  }
}