> For the complete documentation index, see [llms.txt](https://dev-docs.dcentwallet.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev-docs.dcentwallet.com/dcent-biometric-wallet-for-mobile/dcent-biometric-sdk-android/hedera.md).

# Hedera

## **getHederaSignedTransaction**

**This function for :**

* `HEDERA` (HBAR)
* `HEDERA_HTS` - hedera token
* `HEDERA_TESTNET` (HBARt)
* `HTS_TESTNET`

### **Parameters**

| Parameter   | Type                                          | Description                    |
| ----------- | --------------------------------------------- | ------------------------------ |
| coinType    | `CoinType`                                    | hedera coin type.              |
| transaction | [HederaTransaction](#class-hederatransaction) | hedera transaction parameters. |

#### **class HederaTransaction**

<table><thead><tr><th width="165.33333333333331">Name</th><th width="165">Type</th><th>Description</th></tr></thead><tbody><tr><td>hdKeyPath</td><td><code>Bip44KeyPath</code></td><td>key path to sign this hedera transaction</td></tr><tr><td>unsigned</td><td><code>String</code></td><td>transaction that has not been signed of hedera transaction</td></tr><tr><td>decimals</td><td><code>int</code></td><td>transaction decimals of hedera transaction</td></tr><tr><td>symbol</td><td><code>String</code></td><td>transaction symbol of hedera transaction</td></tr></tbody></table>

### **Returns**

`String` - signed transaction.

### **Requirements**

* D'CENT Biometric Wallet version 2.13.0 or higher is required.

**Example**

```java
String keyPath = "m/44'/3030'/0'";
HederaTransaction hederaTransaction;

hederaTransaction = new HederaTransaction.Builder()
                    .keyPath(Bip44KeyPath.valueOf(keyPath))
                    .decimals(8)
                    .unsigned("0a1a0a0b0893b888880610cdfab9741209080010001895cb84011800120608001000180318c0843d22020878320072280a260a110a09080010001895cb840110ff87debe010a110a090800100018c1cb8401108088debe01")
                    .symbol("HBAR")
                    .build();

String response = mDcentmanager.getHederaSignedTransaction(CoinType.HEDERA, hederaTransaction);
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev-docs.dcentwallet.com/dcent-biometric-wallet-for-mobile/dcent-biometric-sdk-android/hedera.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
