Search…
⌃K

General FAQ

Why do I need to approve my tokens before I can trade them?

When using a DEX you must first approve each token that you plan to trade. DEXs use smart contracts on the blockchain to execute transactions. To use a smart contract, you must
  • 1) permit it to validate your token balance, and
  • 2) allow it to transfer the number of tokens that you wish to trade from your wallet.

Common error message

Insufficient {Token} Balance
You're trying to swap a specific token to another token, but there isn't enough of one of the two tokens in the pair.
Please switch chain in your wallet to supported chain
You need to switch the chain in your wallet first to continue the swap process (语法)
Please approve the Token first before you make a transaction.
You need to approve that the contract is authorized to use your token to make swap.
Transaction Fail
The transaction can fail for many reasons, but we highly recommend you adjust your gas price because cost over the gas limit is the most general issue for the transaction failure.

I can't find an answer to my question. Where can I find an answer?

If you can't find what you're looking for in 0xGen documentation, ask your question in our Telegram or Discord