YearnApi
YearnApi
All URIs are relative to https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app
POST /yearn/{name}/add-liquidity
POST /yearn/{name}/add-liquidity-weth
POST /yearn/{name}/remove-liquidity
POST /yearn/{name}/remove-liquidity-weth
addLiquidity
TransactionAPIResponse addLiquidity(authorization, name, inputBody)
Example
Parameters
authorization
kotlin.String
name
kotlin.String
inputBody
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
addLiquidityWeth
TransactionAPIResponse addLiquidityWeth(authorization, name, inputBody)
Example
Parameters
authorization
kotlin.String
name
kotlin.String
inputBody
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, inputBody)
Example
Parameters
authorization
kotlin.String
name
kotlin.String
inputBody
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
removeLiquidityWeth
TransactionAPIResponse removeLiquidityWeth(authorization, name, inputBody)
Example
Parameters
authorization
kotlin.String
name
kotlin.String
inputBody
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