@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias QuoteInvariantViolation

    QuoteInvariantViolation: "AMOUNT_BELOW_FEE_FLOOR" | "NEGATIVE_FEE"

    Quote shapes that pass route resolution + fee math but are still structurally invalid — usually a sign of a route misconfiguration (e.g. fixed fees exceed transactionMinUsd, or a negative fee slipped past rule authoring). The service refuses to return a quote when one of these fires.

    • AMOUNT_BELOW_FEE_FLOOR: post-fee target ≤ 0. Caller's source amount can't cover the fees the route charges.
    • NEGATIVE_FEE: aggregated fee total is below zero. Should be impossible if rule authoring constraints hold; surfaced as a structured error so misconfig is caught at quote time rather than at settlement.