2021-05-25 14:57:36 +00:00
|
|
|
type: google.api.Service
|
|
|
|
config_version: 3
|
|
|
|
|
|
|
|
http:
|
|
|
|
rules:
|
|
|
|
# client.proto
|
|
|
|
- selector: looprpc.SwapClient.LoopOut
|
|
|
|
post: "/v1/loop/out"
|
|
|
|
body: "*"
|
|
|
|
- selector: looprpc.SwapClient.LoopIn
|
|
|
|
post: "/v1/loop/in"
|
|
|
|
body: "*"
|
|
|
|
- selector: looprpc.SwapClient.ListSwaps
|
|
|
|
get: "/v1/loop/swaps"
|
|
|
|
- selector: looprpc.SwapClient.SwapInfo
|
|
|
|
get: "/v1/loop/swap/{id}"
|
|
|
|
- selector: looprpc.SwapClient.LoopOutTerms
|
|
|
|
get: "/v1/loop/out/terms"
|
|
|
|
- selector: looprpc.SwapClient.LoopOutQuote
|
|
|
|
get: "/v1/loop/out/quote/{amt}"
|
|
|
|
- selector: looprpc.SwapClient.GetLoopInTerms
|
|
|
|
get: "/v1/loop/in/terms"
|
|
|
|
- selector: looprpc.SwapClient.GetLoopInQuote
|
|
|
|
get: "/v1/loop/in/quote/{amt}"
|
2021-05-10 14:55:53 +00:00
|
|
|
- selector: looprpc.SwapClient.Probe
|
|
|
|
get: "/v1/loop/in/probe/{amt}"
|
2023-05-26 08:07:48 +00:00
|
|
|
- selector: looprpc.SwapClient.GetInfo
|
|
|
|
get: "/v1/loop/info"
|
2024-04-17 18:57:59 +00:00
|
|
|
- selector: looprpc.SwapClient.GetL402Tokens
|
|
|
|
get: "/v1/l402/tokens"
|
2021-05-25 14:57:36 +00:00
|
|
|
- selector: looprpc.SwapClient.GetLiquidityParams
|
|
|
|
get: "/v1/liquidity/params"
|
|
|
|
- selector: looprpc.SwapClient.SetLiquidityParams
|
|
|
|
post: "/v1/liquidity/params"
|
|
|
|
body: "*"
|
|
|
|
- selector: looprpc.SwapClient.SuggestSwaps
|
|
|
|
get: "/v1/auto/suggest"
|