TronApi
TronApi
Method
HTTP request
Description
createTronAccount
Example
// Import classes:
//import org.usemoonai.moonsdk.infrastructure.*
//import org.usemoonai.moonsdk.models.*
val apiInstance = TronApi()
val authorization : kotlin.String = authorization_example // kotlin.String |
val tronInput : TronInput = // TronInput |
try {
val result : AccountAPIResponse = apiInstance.createTronAccount(authorization, tronInput)
println(result)
} catch (e: ClientException) {
println("4xx response calling TronApi#createTronAccount")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TronApi#createTronAccount")
e.printStackTrace()
}Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
getTronAccount
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
listTronAccounts
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
signTronTransaction
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated