Properties
| Property | Type | Description |
|---|---|---|
liquidityAvailable | true | Always true when this type is returned. |
network | EvmSwapsNetwork | The network. |
fromToken | string | The fromToken address. |
fromAmount | string | The fromAmount in atomic units. |
toToken | string | The toToken address. |
toAmount | string | Expected output at current market price, in atomic units. |
minToAmount | string | Minimum output after slippage, in atomic units. |
fees | | SwapFees | null | Fees to be deducted in this transaction, or null. |
issues | | SwapIssues | null | Preflight issues (e.g. insufficient allowance or balance) that may prevent execution, or null. |
totalNetworkFee | string | null | The estimated total network cost of the swap. On chains where there is no L1 data cost, it is calculated as gas * gasPrice. On chains where there is an L1 data cost, it is calculated as gas * gasPrice + L1 data cost. |