DEX.AG is a DEX aggregator. In other words, DEX.AG gets you the best price for your trade across multiple decentralized exchanges (DEXes), even splitting up your trade via our X Blaster if it improves the price.
When you make a large enough trade on a single DEX, the size of your order affects the price. DEX.AG’s X Blaster feature splits up your trade into smaller ones and spreads them across multiple DEXes to make sure you’re getting the best possible price for your trade.
Enter the token and amount you’d like to swap and then hit the ‘Find
trades’ button. DEX.AG scans every supported decentralized exchange and
provides you with a list of available trades sorted by price. Prices
update in real-time so there's no need to refresh the page.
Trade directly from DEX.AG using our ‘Buy Now’ button. All you need is an internet connection and an Ethereum wallet loaded with some ETH. Don’t have a wallet yet? We recommend Metamask.
When you click the ‘Buy Now’ button, DEX.AG takes the details of the trade that you’ve entered and prepares a transaction for the DEX you’ve selected. Next, follow the prompts of your wallet provider to submit your transaction. Your trade is complete as soon as it's confirmed on the Ethereum blockchain.
DEX.AG charges zero fees. The only fees you pay while trading on DEX.AG are fees from the DEXes themselves (which is included under the 'Total Cost') and the gas required by the network to send your transaction.
Currently, you can connect to DEX.AG using the following:
In addition to our other supported wallet types, you can use DEX.AG's Simple Trading interface from any DApp browser with web3 capabilities including: MetaMask Mobile, Coinbase Wallet, Trust Wallet, imToken, Opera Mobile, Brave and more.
Currently, 9 DEXes are supported by DEX.AG:
When you place a limit order, you set a target price and amount you're willing to buy or sell. Then, you sign a transaction with your maker trade order. This trade order is placed on our 0x order books where it can be filled by 0x trades on DEX.AG. Placing a limit order costs 0 gas fees (unless you decide to cancel it) because the trader who fills your limit order pays the gas to submit the TX.
Wrapped Ether (WETH) is an ERC-20 token representing ETH. Ether (ETH),
the native currency of the Ethereum network, predates the forming of the
ERC-20 token standard. And so, it's common for smart contracts like
DEXes to require ETH to be "wrapped" in order for it to function like
any other ERC-20 token. WETH can always be 'unwrapped' 1:1 for ETH.
With the exception of limit orders, when you make a trade on a DEX that uses WETH, DEX.AG automatically detects whether your ETH needs to be wrapped into WETH before sending it to make your trade. This all happens behind the scenes for your convenience. You can wrap and unwrap WETH on DEX.AG in the Balances page under our Pro Trading interface.
Some features on DEX.AG's Pro Trading interface require the use of WETH.
To wrap and unwrap WETH:
Navigate to DEX.AG Pro Trading. Connect your wallet and proceed to the 'Balances' tab. Under the 'Actions' column next to ETH, click the 'Wrap'. Then, enter the amount of ETH you'd like to wrap and press the 'Go!' button. Follow your wallet's prompts to confirm the transaction. Once your transaction is confirmed, the WETH will be shown under your balances page. Unwrapping WETH back into ETH is as simple as clicking the 'Unwrap' next to WETH under 'Balances', entering the amount you want to unwrap, and submitting your transaction as before.
Our current proxy contract address is 0x745daa146934b27e3f0b6bff1a6e36b9b90fb131.
Yes, you can access our pricing information with our API or even integrate trading into your software with as little as 5 lines of code from our SDK. Find out more information about our API / SDK here.
Increasing the default gas price while sending a trade to Bancor will cause the transaction to fail. This happens because when DEX.AG executes a trade through Bancor, Bancor sets the maximum gas price that they are willing to accept. You can lower the gas price of your trade, but anything above the default gas price will result in a failed transaction.
When you send a trade to 0x v3, you’re filling an order that exists on their off-chain orderbook which is then submitted to the Ethereum network to be mined into the blockchain. Sometimes the order you are trying to fill expires or is filled by another trader (or frontrunner) before your transaction is mined. This causes your transaction to revert. Lowering the gas price of your trade can increase the odds of this occurring.