OneinchApi
OneinchApi
Method
HTTP request
Description
approveCallData
Example
// Import classes:
//import org.usemoonai.moonsdk.infrastructure.*
//import org.usemoonai.moonsdk.models.*
val apiInstance = OneinchApi()
val body : kotlin.Any = // kotlin.Any |
try {
val result : kotlin.Any = apiInstance.approveCallData(body)
println(result)
} catch (e: ClientException) {
println("4xx response calling OneinchApi#approveCallData")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling OneinchApi#approveCallData")
e.printStackTrace()
}Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
approveSpender
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
protocols
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
quote
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
swap
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
tokens
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated