UniSwapApi
UniSwapApi
All URIs are relative to https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app
POST /uniswap/{name}/add-liquidity
POST /uniswap/{name}/remove-liquidity
POST /uniswap/{name}/swap-exact-eth-for-tokens
POST /uniswap/{name}/swap-exact-tokens-for-tokens
addLiquidity
TransactionAPIResponse addLiquidity(authorization, name, uniswapInput)
Example
Parameters
authorization
kotlin.String
name
kotlin.String
uniswapInput
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
removeLiquidity
TransactionAPIResponse removeLiquidity(authorization, name, uniswapInput)
Example
Parameters
authorization
kotlin.String
name
kotlin.String
uniswapInput
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
swapExactETHForTokens
TransactionAPIResponse swapExactETHForTokens(authorization, name, uniswapInput)
Example
Parameters
authorization
kotlin.String
name
kotlin.String
uniswapInput
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
swapExactTokensForTokens
TransactionAPIResponse swapExactTokensForTokens(authorization, name, uniswapInput)
Example
Parameters
authorization
kotlin.String
name
kotlin.String
uniswapInput
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
Last updated