> 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/rust/eosapi.md).

# \EosApi

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

| Method                                              | HTTP request                        | Description |
| --------------------------------------------------- | ----------------------------------- | ----------- |
| [**create\_eos\_account**](#create_eos_account)     | **POST** /eos                       |             |
| [**get\_eos\_account**](#get_eos_account)           | **GET** /eos/{accountName}          |             |
| [**list\_eos\_accounts**](#list_eos_accounts)       | **GET** /eos                        |             |
| [**sign\_eos\_transaction**](#sign_eos_transaction) | **POST** /eos/{accountName}/sign-tx |             |

## create\_eos\_account

> crate::models::AccountApiResponse create\_eos\_account(authorization, eos\_input)

### Parameters

| Name              | Type                                   | Description | Required    | Notes |
| ----------------- | -------------------------------------- | ----------- | ----------- | ----- |
| **authorization** | **String**                             |             | \[required] |       |
| **eos\_input**    | [**EosInput**](/sdks/rust/eosinput.md) |             | \[required] |       |

### Return type

[**crate::models::AccountApiResponse**](https://github.com/moon-up/docs-sdk/blob/main/rust/docs/AccountAPIResponse.md)

### Authorization

[ApiKeyAuth](/sdks/rust.md#ApiKeyAuth), [BearerAuth](/sdks/rust.md#BearerAuth)

### HTTP request headers

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

[\[Back to top\]](/sdks/rust/eosapi.md) [\[Back to API list\]](/sdks/rust.md#documentation-for-api-endpoints) [\[Back to Model list\]](/sdks/rust.md#documentation-for-models) [\[Back to README\]](/sdks/rust.md)

## get\_eos\_account

> crate::models::AccountApiResponse get\_eos\_account(authorization, account\_name)

### Parameters

| Name              | Type       | Description | Required    | Notes |
| ----------------- | ---------- | ----------- | ----------- | ----- |
| **authorization** | **String** |             | \[required] |       |
| **account\_name** | **String** |             | \[required] |       |

### Return type

[**crate::models::AccountApiResponse**](https://github.com/moon-up/docs-sdk/blob/main/rust/docs/AccountAPIResponse.md)

### Authorization

[ApiKeyAuth](/sdks/rust.md#ApiKeyAuth), [BearerAuth](/sdks/rust.md#BearerAuth)

### HTTP request headers

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

[\[Back to top\]](/sdks/rust/eosapi.md) [\[Back to API list\]](/sdks/rust.md#documentation-for-api-endpoints) [\[Back to Model list\]](/sdks/rust.md#documentation-for-models) [\[Back to README\]](/sdks/rust.md)

## list\_eos\_accounts

> crate::models::AccountApiResponse list\_eos\_accounts(authorization)

### Parameters

| Name              | Type       | Description | Required    | Notes |
| ----------------- | ---------- | ----------- | ----------- | ----- |
| **authorization** | **String** |             | \[required] |       |

### Return type

[**crate::models::AccountApiResponse**](https://github.com/moon-up/docs-sdk/blob/main/rust/docs/AccountAPIResponse.md)

### Authorization

[ApiKeyAuth](/sdks/rust.md#ApiKeyAuth), [BearerAuth](/sdks/rust.md#BearerAuth)

### HTTP request headers

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

[\[Back to top\]](/sdks/rust/eosapi.md) [\[Back to API list\]](/sdks/rust.md#documentation-for-api-endpoints) [\[Back to Model list\]](/sdks/rust.md#documentation-for-models) [\[Back to README\]](/sdks/rust.md)

## sign\_eos\_transaction

> crate::models::EosApiResponse sign\_eos\_transaction(authorization, account\_name, eos\_transaction\_input)

### Parameters

| Name                        | Type                                                         | Description | Required    | Notes |
| --------------------------- | ------------------------------------------------------------ | ----------- | ----------- | ----- |
| **authorization**           | **String**                                                   |             | \[required] |       |
| **account\_name**           | **String**                                                   |             | \[required] |       |
| **eos\_transaction\_input** | [**EosTransactionInput**](/sdks/rust/eostransactioninput.md) |             | \[required] |       |

### Return type

[**crate::models::EosApiResponse**](https://github.com/moon-up/docs-sdk/blob/main/rust/docs/EosAPIResponse.md)

### Authorization

[ApiKeyAuth](/sdks/rust.md#ApiKeyAuth), [BearerAuth](/sdks/rust.md#BearerAuth)

### HTTP request headers

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

[\[Back to top\]](/sdks/rust/eosapi.md) [\[Back to API list\]](/sdks/rust.md#documentation-for-api-endpoints) [\[Back to Model list\]](/sdks/rust.md#documentation-for-models) [\[Back to README\]](/sdks/rust.md)
