DogeCoinApi

DogeCoinApi

All URIs are relative to https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app

Method
HTTP request
Description

POST /dogecoin

GET /dogecoin/{accountName}

GET /dogecoin

POST /dogecoin/{accountName}/sign-tx

createDogeCoinAccount

AccountAPIResponse createDogeCoinAccount(authorization, dogeCoinInput)

Example

// Import classes:
//import org.usemoonai.moonsdk.infrastructure.*
//import org.usemoonai.moonsdk.models.*

val apiInstance = DogeCoinApi()
val authorization : kotlin.String = authorization_example // kotlin.String | 
val dogeCoinInput : DogeCoinInput =  // DogeCoinInput | 
try {
    val result : AccountAPIResponse = apiInstance.createDogeCoinAccount(authorization, dogeCoinInput)
    println(result)
} catch (e: ClientException) {
    println("4xx response calling DogeCoinApi#createDogeCoinAccount")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling DogeCoinApi#createDogeCoinAccount")
    e.printStackTrace()
}

Parameters

Name
Type
Description
Notes

authorization

kotlin.String

dogeCoinInput

Return type

AccountAPIResponse

Authorization

Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

getDogeCoinAccount

AccountAPIResponse getDogeCoinAccount(authorization, accountName)

Example

// Import classes:
//import org.usemoonai.moonsdk.infrastructure.*
//import org.usemoonai.moonsdk.models.*

val apiInstance = DogeCoinApi()
val authorization : kotlin.String = authorization_example // kotlin.String | 
val accountName : kotlin.String = accountName_example // kotlin.String | 
try {
    val result : AccountAPIResponse = apiInstance.getDogeCoinAccount(authorization, accountName)
    println(result)
} catch (e: ClientException) {
    println("4xx response calling DogeCoinApi#getDogeCoinAccount")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling DogeCoinApi#getDogeCoinAccount")
    e.printStackTrace()
}

Parameters

Name
Type
Description
Notes

authorization

kotlin.String

accountName

kotlin.String

Return type

AccountAPIResponse

Authorization

Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

listDogeCoinAccounts

AccountAPIResponse listDogeCoinAccounts(authorization)

Example

// Import classes:
//import org.usemoonai.moonsdk.infrastructure.*
//import org.usemoonai.moonsdk.models.*

val apiInstance = DogeCoinApi()
val authorization : kotlin.String = authorization_example // kotlin.String | 
try {
    val result : AccountAPIResponse = apiInstance.listDogeCoinAccounts(authorization)
    println(result)
} catch (e: ClientException) {
    println("4xx response calling DogeCoinApi#listDogeCoinAccounts")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling DogeCoinApi#listDogeCoinAccounts")
    e.printStackTrace()
}

Parameters

Name
Type
Description
Notes

authorization

kotlin.String

Return type

AccountAPIResponse

Authorization

Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

signDogeCoinTransaction

DogeCoinAPIResponse signDogeCoinTransaction(authorization, accountName, dogeCoinTransactionInput)

Example

// Import classes:
//import org.usemoonai.moonsdk.infrastructure.*
//import org.usemoonai.moonsdk.models.*

val apiInstance = DogeCoinApi()
val authorization : kotlin.String = authorization_example // kotlin.String | 
val accountName : kotlin.String = accountName_example // kotlin.String | 
val dogeCoinTransactionInput : DogeCoinTransactionInput =  // DogeCoinTransactionInput | 
try {
    val result : DogeCoinAPIResponse = apiInstance.signDogeCoinTransaction(authorization, accountName, dogeCoinTransactionInput)
    println(result)
} catch (e: ClientException) {
    println("4xx response calling DogeCoinApi#signDogeCoinTransaction")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling DogeCoinApi#signDogeCoinTransaction")
    e.printStackTrace()
}

Parameters

Name
Type
Description
Notes

authorization

kotlin.String

accountName

kotlin.String

dogeCoinTransactionInput

Return type

DogeCoinAPIResponse

Authorization

Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

Last updated