AaveApi
AaveApi
Method
HTTP request
Description
borrow
Example
// Import classes:
//import org.usemoonai.moonsdk.infrastructure.*
//import org.usemoonai.moonsdk.models.*
val apiInstance = AaveApi()
val authorization : kotlin.String = authorization_example // kotlin.String |
val name : kotlin.String = name_example // kotlin.String |
val aaveInput : AaveInput = // AaveInput |
try {
val result : TransactionAPIResponse = apiInstance.borrow(authorization, name, aaveInput)
println(result)
} catch (e: ClientException) {
println("4xx response calling AaveApi#borrow")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AaveApi#borrow")
e.printStackTrace()
}Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
lend
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
repay
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
userReserveData
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated