Jupiter quote and swap API for Dart
Return route
Get quote for a given input mint, output mint and amount
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
inputMint | query | inputMint | Yes | string |
outputMint | query | outputMint | Yes | string |
amount | query | amount | Yes | number |
slippage | query | slippage | No | number |
feeBps | query | fee bps | No | number |
Code | Description | Schema |
---|---|---|
default | Default response | object |
Return setup, swap and cleanup transactions
Get swap serialized transactions for a route
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
body | body | No | object |
Code | Description | Schema |
---|---|---|
default | Default response | object |
[DEPRECATED] use /indexed-route-map Returns a hash map, input mint as key and an array of valid output mint as values
Code | Description |
---|---|
200 | Default Response |
Returns a hash map, input mint as key and an array of valid output mint as values, token mints are indexed to reduce the file size
Code | Description |
---|---|
200 | Default Response |