# Stellar

## **getStellarSignedTransaction**

**This function for :**

* `STELLAR`(XLM)
* `STELLAR_TA`
* `XLM_TESTNET`(XLMt)
* `XLM_TA_TESTNET`

### **Parameters**

| Parameter   | Type                                            | Description                     |
| ----------- | ----------------------------------------------- | ------------------------------- |
| coinType    | `CoinType`                                      | stellar coin type.              |
| transaction | [StellarTransaction](#class-stellartransaction) | stellar transaction parameters. |

#### **class StellarTransaction**

<table><thead><tr><th width="131.33333333333331">Name</th><th width="161">Type</th><th>Description</th></tr></thead><tbody><tr><td>hdKeyPath</td><td><code>Bip44KeyPath</code></td><td>sign key path for stellar transaction</td></tr><tr><td>signBytes</td><td><code>String</code></td><td>transaction that has not been signed of stellar transaction</td></tr></tbody></table>

### **Returns**

`String` - signed transaction.

### **Requirements**

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

**Example**

```java
String keyPath = "m/44'/148'/0'";
StellarTransaction stellarTransaction;

stellarTransaction = new StellarTransaction.Builder()
                    .keyPath(Bip44KeyPath.valueOf(keyPath))
                    .signBytes("7ac33997544e3175d266bd022439b22cdb16508c01163f26e5cb2a3e1045a9790000000200000000d147b20efbeb51a8f8eea50f4ce1ad549796a509236c3cad056e22cf3e3e6f0b000000640005821d00000004000000010000000000000000000000005ec76b4a00000000000000010000000000000000000000005e3deafcf4bee3bf40a85e4f93bdf7d94e62a05e811ed787f9d04bc983ec207b0000000049504f8000000000")
                    .build();

String response = mDcentmanager.getStellarSignedTransaction(CoinType.STELLAR, stellarTransaction);
```
