\AaveApi

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

Method
HTTP request
Description

POST /aave/{name}/borrow

POST /aave/{name}/lend

POST /aave/{name}/repay

POST /aave/{name}/user-reserve-data

borrow

crate::models::TransactionApiResponse borrow(authorization, name, aave_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

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

lend

crate::models::TransactionApiResponse lend(authorization, name, aave_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

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

repay

crate::models::TransactionApiResponse repay(authorization, name, aave_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

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

user_reserve_data

crate::models::AaveReservesApiResponse user_reserve_data(authorization, name, aave_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

aave_input

[required]

Return type

crate::models::AaveReservesApiResponse

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