Intent-Code Divergence
Medium
- Confidence
- 93% confidence
- Finding
- The reference states that swap calldata must be used exactly as returned by the API, yet the example signs and sends using a locally derived account rather than clearly enforcing consistency with the API-provided transaction fields. In a transaction-generation context, this mismatch can cause failed execution, incorrect routing assumptions, or user confusion about which account the swap was quoted for, especially if integrators copy the example directly.
