\YearnApi

All URIs are relative to https://beta.usemoon.ai

Method
HTTP request
Description

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

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

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

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

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

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

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

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

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