CDP SDK TypeScript - v1.31.0
    Preparing search index...

    Interface SwapIssues

    Potential issues discovered during swap validation.

    interface SwapIssues {
        allowance?: SwapAllowanceIssue;
        balance?: SwapBalanceIssue;
        simulationIncomplete: boolean;
    }
    Index

    Properties

    allowance?: SwapAllowanceIssue

    Details of the allowances that the taker must set. Null if no allowance is required.

    Details of the balance of the fromToken that the taker must hold. Null if sufficient balance.

    simulationIncomplete: boolean

    True when the transaction cannot be validated (e.g., insufficient balance).