Request a MultiversX swap quote and, when sender is present, receive transaction data for signing.
Endpoint
Required Params
Optional Params
Convert human-readable amounts to smallest unit strings before quoting. Use /api/v1/pair-config to read decimals and minAmountIn.
Request
cURL
TypeScript
Python
Rust
Success Response
Response Fields
Transaction Data
Pass sender when the user is ready to sign. The service fetches nonce, simulates gas, and returns a transaction object when those steps complete within the service timeout.
If nonce fetch or simulation exceeds 8 seconds, the response falls back to txData without transaction.
Do not reuse txData across quote requests. It encodes route and slippage state from that request.
Errors
Edge Cases
Verify
Before signing:
amountOutMin matches the slippage shown to the user.
transaction.sender equals the current wallet when transaction is present.
- Token amounts are smallest unit strings.
- The quote was generated after the latest user change to token, amount, slippage, or sender.