GMX Exclusive API
This API is exclusively to leverage GMX V1 and V2 pools on Arbitrum. To ensure users get the best trading rates, v1 and v2 pools are compared and the API swaps with the most favorable option.
Price Quote
https://open-api.openocean.finance/v3/arbitrum/gmx_quote?inTokenAddress=0xaf88d065e77c8cC2239327C5EDb3A432268e5831&outTokenAddress=0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9&amount=100&slippage=1&gasPrice=0.0111875{
"code": 200,
"data": {
"inToken": {
"address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"decimals": 6,
"symbol": "USDC",
"name": "USD Coin",
"usd": "1.001",
"volume": 100.1
},
"outToken": {
"address": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
"decimals": 6,
"symbol": "USDT",
"name": "Tether USD",
"usd": "1.001",
"volume": 100.07039042
},
"inAmount": "100000000",
"outAmount": "99970420",
"estimatedGas": "859474",
"dexes": [
{
"dexIndex": 54,
"dexCode": "GMXV2",
"swapAmount": "99970420"
}
],
"path": {
"from": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"to": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
"parts": 10,
"routes": [
{}
]
},
"save": 0,
"price_impact": "-0.03%"
}
}Swap Quote
Get Transaction
Last updated