CommonSwapResponseIssues: {
    allowance: CommonSwapResponseIssuesAllowance;
    balance: CommonSwapResponseIssuesBalance;
    simulationIncomplete: boolean;
}

An object containing potential issues discovered during validation that could prevent the swap from being executed successfully.

Type declaration

  • allowance: CommonSwapResponseIssuesAllowance

    Details of the allowances that the taker must set in order to execute the swap successfully. Null if no allowance is required.

  • balance: CommonSwapResponseIssuesBalance

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

  • simulationIncomplete: boolean

    This is set to true when the transaction cannot be validated. This can happen when the taker has an insufficient balance of the fromToken. Note that this does not necessarily mean that the trade will revert.