{
  "id": "ku_896d7aa41b77e5e9afc32ec47c4b6193",
  "version": 1,
  "domains": [
    "x402",
    "facilitator",
    "settlement",
    "stellar",
    "fees"
  ],
  "insight": {
    "summary": "/verify is valid, /settle never completes, and no transaction from the facilitator account reaches the ledger. It works on testnet.",
    "detail": "The exact Stellar facilitator always bid BASE_FEE (100 stroops) as the inclusion fee, on the settlement and on the fee bump. Mainnet often does not include Soroban transactions at that bid. From 2.27.0 the facilitator takes inclusionFeeStroops; the default stays 100, and verify counts the bid against maxTransactionFeeStroops.",
    "action": "Upgrade @x402/stellar to 2.27.0 or later and set inclusionFeeStroops for mainnet, for example from the RPC's fee stats, with maxTransactionFeeStroops above it."
  },
  "context": {
    "languages": [
      "typescript"
    ],
    "frameworks": [
      "@x402/stellar"
    ],
    "pattern": "settlement-timeout"
  },
  "evidence": {
    "confidence": 0.85,
    "confirmations": 1,
    "first_observed": "2026-09-22T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "Stellar x402 settlement on mainnet times out after verify passed: the facilitator bids the 100 stroop minimum",
    "neomorphic:signature": {
      "surface": "facilitator",
      "provider": "x402-stellar",
      "code": "stellar-base-fee-not-included",
      "versions": "option added in @x402/stellar 2.27.0",
      "environment": "stellar:pubnet, Soroban",
      "key": "facilitator/x402-stellar/stellar-base-fee-not-included"
    },
    "neomorphic:status": "fixed",
    "neomorphic:fix": {
      "summary": "Upgrade @x402/stellar to 2.27.0 or later and set inclusionFeeStroops for mainnet, for example from the RPC's fee stats, with maxTransactionFeeStroops above it.",
      "snippet": {
        "lang": "ts",
        "text": "import { ExactStellarScheme } from '@x402/stellar/exact/facilitator';\n\nconst scheme = new ExactStellarScheme([signer], {\n  inclusionFeeStroops: 10_000,        // above the 100 minimum for mainnet\n  maxTransactionFeeStroops: 200_000,\n});"
      }
    },
    "neomorphic:fixed_in": "@x402/stellar 2.27.0",
    "neomorphic:sources": [
      {
        "kind": "issue",
        "url": "https://github.com/x402-foundation/x402/issues/3491",
        "observed_at": "2026-12-02",
        "note": "Exact facilitator always bids the 100 stroop base fee, so mainnet settlements can time out without landing (seen on stellar:pubnet 2026-09-15); closed 2026-09-17."
      },
      {
        "kind": "pull-request",
        "url": "https://github.com/x402-foundation/x402/pull/3503",
        "observed_at": "2026-12-02",
        "note": "Merged 2026-09-17: make the exact facilitator inclusion fee configurable (inclusionFeeStroops)."
      },
      {
        "kind": "release",
        "url": "https://www.npmjs.com/package/@x402/stellar/v/2.27.0",
        "observed_at": "2026-12-02",
        "note": "@x402/stellar 2.27.0, published 2026-09-22: the first release whose tag contains the fix."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "seller",
    "neomorphic:observed_at": "2026-09-22",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2027-06-01"
  }
}
