The address of the coin to swap from.
The address of the coin to swap to.
The amount of the fromCoin to swap. Can be a number, string, or bigint.
Optional
apiKey: stringThe API key for authentication.
Optional. The options for the swap, including baseUrl, dexList, byAmountIn, and depth.
A promise that resolves with the quote for the swap.
Retrieves a quote for swapping one coin to another.