Orders
Estimate Outcome
Calculate the estimated outcome amount for a given input amount and order type.
POST
Overview
Partners can calculate the final amount for a given input amount and order type. Setreverse=true to calculate the required input amount for a desired outcome.
Input amount to calculate. In VND for deposit orders, USD for withdrawal orders.
Type of the order.
1 = Deposit, 2 = Withdrawal.Blockchain network ID. See List Tokens.
Token contract address. See List Tokens.
If
true, calculates the required input amount to achieve a desired outcome.Optional buffer rate override (fractional). Effective buffer = max(override, configured). Example:
0.005 = 0.5%.