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