\YearnApi
All URIs are relative to https://beta.usemoon.ai
POST /yearn/{name}/add-liquidity
POST /yearn/{name}/add-liquidity-weth
POST /yearn/{name}/remove-liquidity
POST /yearn/{name}/remove-liquidity-weth
add_liquidity
crate::models::TransactionApiResponse add_liquidity(authorization, name, input_body)
Parameters
authorization
String
[required]
name
String
[required]
input_body
[required]
Return type
crate::models::TransactionApiResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
add_liquidity_weth
crate::models::TransactionApiResponse add_liquidity_weth(authorization, name, input_body)
Parameters
authorization
String
[required]
name
String
[required]
input_body
[required]
Return type
crate::models::TransactionApiResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
remove_liquidity
crate::models::TransactionApiResponse remove_liquidity(authorization, name, input_body)
Parameters
authorization
String
[required]
name
String
[required]
input_body
[required]
Return type
crate::models::TransactionApiResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
remove_liquidity_weth
crate::models::TransactionApiResponse remove_liquidity_weth(authorization, name, input_body)
Parameters
authorization
String
[required]
name
String
[required]
input_body
[required]
Return type
crate::models::TransactionApiResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Last updated