Questions tagged [1inch-dex-aggregator]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
98 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 ...
user avatar
  • 101
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
78 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 ...
user avatar