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/daemon/stop | POST | looprpc.StopDaemon |
| /v1/instantout | POST | looprpc.InstantOut |
| /v1/instantout/quote | POST | looprpc.InstantOutQuote |
| /v1/instantout/reservations | GET | looprpc.ListReservations |
| /v1/instantout/swaps | GET | looprpc.ListInstantOuts |
| /v1/l402/tokens | GET | looprpc.GetL402Tokens |
| /v1/liquidity/params | GET | looprpc.GetLiquidityParams |
| /v1/liquidity/params | POST | looprpc.SetLiquidityParams |
| /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 |
| /v1/staticaddr | POST | looprpc.NewStaticAddress |
| /v1/staticaddr/deposits | GET | looprpc.ListStaticAddressDeposits |
| /v1/staticaddr/deposits/unspent | GET | looprpc.ListUnspentDeposits |
| /v1/staticaddr/loopin | POST | looprpc.StaticAddressLoopIn |
| /v1/staticaddr/summary | GET | looprpc.GetStaticAddressSummary |
| /v1/staticaddr/swaps | GET | looprpc.ListStaticAddressSwaps |
| /v1/staticaddr/withdraw | POST | looprpc.WithdrawDeposits |
| /v1/staticaddr/withdrawals | GET | looprpc.ListStaticAddressWithdrawals |