REST Endpoints
Here's a list of all the REST API endpoints available in Loop.
REST Path | REST Method | RPC |
---|---|---|
/v1/auto/suggest | GET | looprpc.SuggestSwaps |
/v1/l402/tokens | GET | looprpc.GetL402Tokens |
/v1/liquidity/params | POST | looprpc.SetLiquidityParams |
/v1/liquidity/params | GET | looprpc.GetLiquidityParams |
/v1/loop/in | POST | looprpc.LoopIn |
/v1/loop/in/probe/{amt} | GET | looprpc.Probe |
/v1/loop/in/quote/{amt} | GET | looprpc.GetLoopInQuote |
/v1/loop/in/terms | GET | looprpc.GetLoopInTerms |
/v1/loop/info | GET | looprpc.GetInfo |
/v1/loop/out | POST | looprpc.LoopOut |
/v1/loop/out/quote/{amt} | GET | looprpc.LoopOutQuote |
/v1/loop/out/terms | GET | looprpc.LoopOutTerms |
/v1/loop/swap/{id} | GET | looprpc.SwapInfo |
/v1/loop/swaps | GET | looprpc.ListSwaps |