Questions tagged [0x]
The 0x tag has no usage guidance.
5
questions
1
vote
2
answers
217
views
Failed to swap BEP20 > BNB, WalletExecuteDelegateError
I try to use 0x Swap rest API to swap a token.
buyToken=0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
sellToken=0x07515f6d56879040b02c4d355df62ec5aede4c7e
But i got WalletExecuteDelegateCallFailedError, ...
1
vote
1
answer
570
views
what is the role of relayer in 0x protocol?
I understand that 0x protocol allows orders to be transmitted across off chain channel to reach large audience and potential buyers/sellers. However, I don't get what a Relayer is exactly.
0
votes
0
answers
159
views
0x API - FillQuote works on USDC=> DAI, but not DAI=>USDC
I'm trying to swap USDC to/from DAI. USDC to DAI swap works fine, but the revers ALWAYS fails
The smart contract im using is EXACTLY simpletokenswap.sol, the only modification I made was that uint(-1) ...
0
votes
2
answers
268
views
How to resolve insufficient asset liquidity in 0x on polygon mumbai testnet
I am testing the 0x api to get quote on Mumbai testnet. I want to swap BAL -> wETH.
https://mumbai.api.0x.org/swap/v1/quote?buyToken=0x2e3A2fb8473316A02b8A297B982498E661E1f6f5&sellToken=...
0
votes
1
answer
217
views
Start API Network timeout
I am trying to start local 0x-api(https://github.com/0xProject/0x-api).
I first tried starting the api setting Infura Rpc Url in .env . Everything worked great.
But I want to use my Local Ethereum ...