Questions tagged [1inch-dex-aggregator]
The 1inch-dex-aggregator tag has no usage guidance.
20
questions
1
vote
0
answers
22
views
How to give Permit()
i am trying to swap using "1inch aggregator" API and it needs permit to spend my balance.
I try to follow the instruction on on this article but i can't understand it easily.Can anyone tell ...
0
votes
0
answers
24
views
1Inch with flashloan provider
Is there a way to trade on 1Inch using the API and flash-loaned balance. If it is possible please give me some info. I was seeing the DOC to find how to integrate the flash-loan provider with 1Inch ...
1
vote
0
answers
17
views
Can we rely on 1inch Swap API price feeds
It is not clear to me how 1inch swagger API is getting the prices from different dexes. Can we rely on them? As they are not open-sourced. I tried using the aggregator but faced this issue RPC timeout ...
0
votes
1
answer
20
views
RPC timeout while doing multicall on `1inch aggregator` on local forks
I may be doing this wrong but I think there is an issue when performing multicall Spot price aggregator contract.But when it comes to multicall ganache/hardhat all make Time out error.
Poc:
Performed ...
1
vote
0
answers
15
views
Uniswap: Why is there an intermediary when swapping?
I am trying to understand why sometimes when a wallet buys a token the Uniswap pool sends the token through an intermediary address before it gets sent to the buyer.
Here's an example of such ...
0
votes
0
answers
19
views
Is it possible to create a 1Inch limit order, when tokens are stored in a smart contract?
I am trying to find a way to create a 1inch order, where I wouldn't be holding the tokens, but would only be approved.
Currently, 1inch requires the signature of the token holder when placing an order,...
0
votes
0
answers
23
views
Sending aggressive/instant transaction, setting gas
I'm trading through the 1inch API and I want to speed up my transactions. I need my transactions to be completed in <10 seconds, like the aggressive mode in the 1inch interface, but I'm not sure ...
0
votes
1
answer
39
views
I want to fetch live Feed's From Dex's like Uniswap sushi and pancake
I'm working on a project where we need to get prices from 3 to 4 dex on the Ethereum chain and the Solana chain. What is the best way to get a live feed from Ethereum dex? I want to fetch the live ...
2
votes
1
answer
513
views
Get all liquidity in all dex of a token
Is there a way to get all the liquidity of a token? Also locked and burned liquidities, actually my aim is to build something similar to token sniffer, thanks for your help
1
vote
1
answer
160
views
Call Requests Limit
I made a bot swap on bsc network using 1inch 0x and para swap.. everything is great except one thing which is Call requests I can’t make call every 1 sec for more than 1 token when make 2 tokens my ip ...
0
votes
0
answers
150
views
Fork a dex aggregator
I'm trying to build a dex aggregator for myself, but dex aggregators are not open source so they cant be easily forked, actually I don't want to use the sdk, my goal is to build a complete dex ...
0
votes
0
answers
77
views
Getting less swap amount than flashloaned ETH amount in triangular arbitrage
I am attempting to perform a triangular arbitrage operation where I am using DyDx as flashloan provider and uniswap/1inch exchanges to perform swap operations between them to yield a ETH profit amount....
0
votes
1
answer
197
views
How does 0x V4 proxy handle the ERC20 trade in smart contract level?
I am trying to review a integration code. The protocol integrate with ZeroEx, and use the code like
address(ZeroExSwapTarget).call(tradeCallData)
the zeroExSwapTarget is https://etherscan.io/...
1
vote
0
answers
93
views
Is there an API to create/remove Liquidity Pools on different DEXes?
I'm looking for a way to automate liquidity allocation into the most profitable pools,
for this, I need the ability to create/remove liquidity pools on the most popular DEXes.
At a low level to do ...
0
votes
0
answers
45
views
1inch true workflow for trading
I am reading docs of 1inch API, and getting a bit confused. I have an experience of centralized exchanges integration, while for DEX many things are strange.
It's quite clear how to request for quotes,...
1
vote
1
answer
56
views
Contract function only works on array with one item
I have created a contract to loop over an array of token addresses and call the 1inch oracle. It only works when the token array is of length 1. Have been testing on remix.
when inputting the token ...
0
votes
1
answer
624
views
Can i use the data returned from 1inch's api swap, to perform a swap from a smart contract? (i.e for flashloans)
I'm trying to use the data returned from 1inch's Swap API endpoint, to essentially perform a swap from a smart contract instead of from an EOA. The old oneSplit contract provided an easy way to do ...
1
vote
0
answers
994
views
1inch aggregation protocol v4 - basic example of swap
I'm trying to figure out how I can use 1inch AggregationRouterV4 as a smart contract and not as an API.
I have experience with ethers , but I can't find any example and tests on how to work with a ...
0
votes
1
answer
188
views
How to use EIP-1559 gas instead of legacy gas in 1inch APIs?
I'm developing a web application (both frontend and backend) that executes swaps through the 1Inch APIs.
When executing a transaction, it looks like it's using the legacy gas. However, I would like to ...
0
votes
1
answer
951
views
How does 1inch do gasless swaps without any ETH?
Reference: https://blog.1inch.io/the-1inch-limit-order-protocol-v2-is-released-81c6802db1bd
1inch DEX aggregator has limit orders, but they offer a way to do gasless swaps for erc20 tokens. If a ...