Skip to main content

A size refusal names its minimum on mixed refusals

A 422 no_routes whose reason is amount_too_small now carries min_notional_usdc whenever a venue that refused for size has a known minimum above your order, even when other venues refused for another reason. Before, such a refusal could come back with the reason and no number. Additive: nothing to change.

What changed​

  • min_notional_usdc on more refusals. It applies to POST /quote/buy, POST /quote/preview and POST /quote/sell. On a sell it is a USDC value, never a share count.
  • The number covers only the venues that refused for size. A venue that refused for another reason, for example insufficient_gas on a Solana leg, still needs its own fix: an order at or above the minimum can reach the venues that refused for size, not that one.
  • Skill version. The treasures-b2b-api skill is 1.22.1.

What to do​

Nothing. If you already read min_notional_usdc when it is present, you now get it on more refusals.