Retrieves swap quotes
Retrieves swap quotes for a specified token pair
Request
- Base URLhttps://api.unstoppabledomains.com/profile
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The wallet address initiating the swap
Query parameters
The source token chain. Must be one of the supported chains (Bitcoin, Ethereum, Polygon, Base or Solana)
The source token contract address or ticker symbol. Contract address recommended.
The desired swap amount, specified in token currency. A value in fromTokenAmount is prioritized over fromTokenAmountUsd.
The desired swap amount, specified in US Dollars. A value in fromTokenAmount is prioritized over fromTokenAmountUsd.
The destination token chain. Must be one of the supported chains (Bitcoin, Ethereum, Polygon, Base or Solana)
The destination token contract address or ticker symbol. Contract address recommended.
(Optional) The destination wallet address for the swap funds. Defaults to source address if empty.
Response
The requested swap quotes
Changes
No recorded changes to this operation across all 1 revision of this API.