Most probably you are talking about instant swap, they aren’t non custodial exchanges. The liquidity holding by the swap or exchange, if you looking for a noncustodial exchange then it’s called decentralised exchanges. So the instant swap collect their own liquidity from various exchanges or other sources. When users place swap orders they complete it from their liquidity.
There are many exchanges that use liquidity from some other exchanges or platform as well through API. So you have to read their terms to know how their swap have been working. Also you have to understand different between centralised exchanges and decentralised exchanges as well. Remember, most of the instant swap or exchange are centralised, they are controlled by a company.
I see. I just studied a few more of these instant swap exchanges, they're basically
easier to use centralized exchanges which are using other CEX/DEX services underneath. Since I was thinking about it as some sort of startup project, I just found that aggregation system the best for someone like myself. Currently working on a way to help users find the best deal seamlessly.
swapspace type sites are usually an “aggregation + routing” layer, not a magic internal swapper. at a high level they take your input (from/to, amount), then they route through whichever liquidity source is cheapest/fastest: an on-chain DEX route (swap + liquidity pools), and/or an OTC/market-maker/liquidity provider route, and sometimes internal inventory if they have it.
Exactly. Learning about it is so much fun.