\UniSwapApi

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

Method
HTTP request
Description

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

add_liquidity

crate::models::TransactionApiResponse add_liquidity(authorization, name, uniswap_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

uniswap_input

[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, uniswap_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

uniswap_input

[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]

swap_exact_eth_for_tokens

crate::models::TransactionApiResponse swap_exact_eth_for_tokens(authorization, name, uniswap_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

uniswap_input

[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]

swap_exact_tokens_for_tokens

crate::models::TransactionApiResponse swap_exact_tokens_for_tokens(authorization, name, uniswap_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

uniswap_input

[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