> For the complete documentation index, see [llms.txt](https://docs.usemoon.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usemoon.ai/sdks/golang/dogecoinapi.md).

# \DogeCoinAPI

All URIs are relative to *<https://beta.usemoon.ai>*

| Method                      | HTTP request                             | Description |
| --------------------------- | ---------------------------------------- | ----------- |
| **CreateDogeCoinAccount**   | **Post** /dogecoin                       |             |
| **GetDogeCoinAccount**      | **Get** /dogecoin/{accountName}          |             |
| **ListDogeCoinAccounts**    | **Get** /dogecoin                        |             |
| **SignDogeCoinTransaction** | **Post** /dogecoin/{accountName}/sign-tx |             |

## CreateDogeCoinAccount

> AccountAPIResponse CreateDogeCoinAccount(ctx).Authorization(authorization).DogeCoinInput(dogeCoinInput).Execute()

### Example

```go
package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/moon-up/moon-sdk-go"
)

func main() {
	authorization := "authorization_example" // string | 
	dogeCoinInput := *openapiclient.NewDogeCoinInput() // DogeCoinInput | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DogeCoinAPI.CreateDogeCoinAccount(context.Background()).Authorization(authorization).DogeCoinInput(dogeCoinInput).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DogeCoinAPI.CreateDogeCoinAccount``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `CreateDogeCoinAccount`: AccountAPIResponse
	fmt.Fprintf(os.Stdout, "Response from `DogeCoinAPI.CreateDogeCoinAccount`: %v\n", resp)
}
```

### Path Parameters

### Other Parameters

Other parameters are passed through a pointer to a apiCreateDogeCoinAccountRequest struct via the builder pattern

| Name              | Type              | Description | Notes |
| ----------------- | ----------------- | ----------- | ----- |
| **authorization** | **string**        |             |       |
| **dogeCoinInput** | **DogeCoinInput** |             |       |

### Return type

**AccountAPIResponse**

### Authorization

ApiKeyAuth, BearerAuth

### HTTP request headers

* **Content-Type**: application/json
* **Accept**: application/json

[\[Back to top\]](broken://pages/09esJPuYJI9Jp2xJabcd) \[Back to API list] \[Back to Model list] \[Back to README]

## GetDogeCoinAccount

> AccountAPIResponse GetDogeCoinAccount(ctx, accountName).Authorization(authorization).Execute()

### Example

```go
package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/moon-up/moon-sdk-go"
)

func main() {
	authorization := "authorization_example" // string | 
	accountName := "accountName_example" // string | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DogeCoinAPI.GetDogeCoinAccount(context.Background(), accountName).Authorization(authorization).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DogeCoinAPI.GetDogeCoinAccount``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `GetDogeCoinAccount`: AccountAPIResponse
	fmt.Fprintf(os.Stdout, "Response from `DogeCoinAPI.GetDogeCoinAccount`: %v\n", resp)
}
```

### Path Parameters

| Name            | Type                | Description                                                                 | Notes |
| --------------- | ------------------- | --------------------------------------------------------------------------- | ----- |
| **ctx**         | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. |       |
| **accountName** | **string**          |                                                                             |       |

### Other Parameters

Other parameters are passed through a pointer to a apiGetDogeCoinAccountRequest struct via the builder pattern

| Name              | Type       | Description | Notes |
| ----------------- | ---------- | ----------- | ----- |
| **authorization** | **string** |             |       |

### Return type

**AccountAPIResponse**

### Authorization

ApiKeyAuth, BearerAuth

### HTTP request headers

* **Content-Type**: Not defined
* **Accept**: application/json

[\[Back to top\]](broken://pages/09esJPuYJI9Jp2xJabcd) \[Back to API list] \[Back to Model list] \[Back to README]

## ListDogeCoinAccounts

> AccountAPIResponse ListDogeCoinAccounts(ctx).Authorization(authorization).Execute()

### Example

```go
package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/moon-up/moon-sdk-go"
)

func main() {
	authorization := "authorization_example" // string | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DogeCoinAPI.ListDogeCoinAccounts(context.Background()).Authorization(authorization).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DogeCoinAPI.ListDogeCoinAccounts``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListDogeCoinAccounts`: AccountAPIResponse
	fmt.Fprintf(os.Stdout, "Response from `DogeCoinAPI.ListDogeCoinAccounts`: %v\n", resp)
}
```

### Path Parameters

### Other Parameters

Other parameters are passed through a pointer to a apiListDogeCoinAccountsRequest struct via the builder pattern

| Name              | Type       | Description | Notes |
| ----------------- | ---------- | ----------- | ----- |
| **authorization** | **string** |             |       |

### Return type

**AccountAPIResponse**

### Authorization

ApiKeyAuth, BearerAuth

### HTTP request headers

* **Content-Type**: Not defined
* **Accept**: application/json

[\[Back to top\]](broken://pages/09esJPuYJI9Jp2xJabcd) \[Back to API list] \[Back to Model list] \[Back to README]

## SignDogeCoinTransaction

> DogeCoinAPIResponse SignDogeCoinTransaction(ctx, accountName).Authorization(authorization).DogeCoinTransactionInput(dogeCoinTransactionInput).Execute()

### Example

```go
package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/moon-up/moon-sdk-go"
)

func main() {
	authorization := "authorization_example" // string | 
	accountName := "accountName_example" // string | 
	dogeCoinTransactionInput := *openapiclient.NewDogeCoinTransactionInput() // DogeCoinTransactionInput | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DogeCoinAPI.SignDogeCoinTransaction(context.Background(), accountName).Authorization(authorization).DogeCoinTransactionInput(dogeCoinTransactionInput).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DogeCoinAPI.SignDogeCoinTransaction``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `SignDogeCoinTransaction`: DogeCoinAPIResponse
	fmt.Fprintf(os.Stdout, "Response from `DogeCoinAPI.SignDogeCoinTransaction`: %v\n", resp)
}
```

### Path Parameters

| Name            | Type                | Description                                                                 | Notes |
| --------------- | ------------------- | --------------------------------------------------------------------------- | ----- |
| **ctx**         | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. |       |
| **accountName** | **string**          |                                                                             |       |

### Other Parameters

Other parameters are passed through a pointer to a apiSignDogeCoinTransactionRequest struct via the builder pattern

| Name              | Type       | Description | Notes |
| ----------------- | ---------- | ----------- | ----- |
| **authorization** | **string** |             |       |

**dogeCoinTransactionInput** | **DogeCoinTransactionInput** | |

### Return type

**DogeCoinAPIResponse**

### Authorization

ApiKeyAuth, BearerAuth

### HTTP request headers

* **Content-Type**: application/json
* **Accept**: application/json

[\[Back to top\]](broken://pages/09esJPuYJI9Jp2xJabcd) \[Back to API list] \[Back to Model list] \[Back to README]
