Erc20Api
Erc20Api
Method
HTTP request
Description
allowanceErc20
Example
// Import classes:
//import org.usemoonai.moonsdk.infrastructure.*
//import org.usemoonai.moonsdk.models.*
val apiInstance = Erc20Api()
val authorization : kotlin.String = authorization_example // kotlin.String |
val name : kotlin.String = name_example // kotlin.String |
val inputBody : InputBody = // InputBody |
try {
val result : TransactionAPIResponse = apiInstance.allowanceErc20(authorization, name, inputBody)
println(result)
} catch (e: ClientException) {
println("4xx response calling Erc20Api#allowanceErc20")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling Erc20Api#allowanceErc20")
e.printStackTrace()
}Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
approveErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
balanceOfErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
decimalsErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
nameErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
symbolErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
totalSupplyErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
transferErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
transferFromErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated