# Cardano

## **getCardanoSignedTransaction**

**This function for :**

* `CARDANO` (ADA)
* `CARDANO_TESTNET` (ADAt)

### **Parameters**

| Parameter   | Type                                            | Description                  |
| ----------- | ----------------------------------------------- | ---------------------------- |
| coinType    | `CoinType`                                      | cardano coin type.           |
| transaction | [CardanoTransaction](#class-cardanotransaction) | tron transaction parameters. |

#### **class** CardanoTransaction

<table><thead><tr><th width="149.33333333333331">Name</th><th width="175">Type</th><th>Description</th></tr></thead><tbody><tr><td>hdKeyPath</td><td><code>Bip44KeyPath</code></td><td>sign key path for cardano transaction</td></tr><tr><td>unsignedTx</td><td><code>String</code></td><td>Unsigned transaction data of cardano transaction</td></tr></tbody></table>

### **Returns**

`String` - signed transaction.

### **Requirements**

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

**Example**

```java
String keyPath = "m/44'/1815'/0'/0/0";
CardanoTransacion cardanoTransacion;

cardanoTransacion = new CardanoTransacion.Builder()
                    .keyPath(Bip44KeyPath.valueOf(keyPath))
                    .unsignedTx("a400818258209087b68d8f59dca2a29a3f5c03db7b162ba2607fa930f95996d12b1a570a84ef01018182583901b552fcf04820629ec73d54cd8cac3fccb4902d81f7801b65c654a490f122908efcb7fc3b457a83c4a1a50a7e7e919694fdc195d55c1a1b961a00297398021a00028911031a0185c2df")
                    .build();

String response = mDcentmanager.getCardanoSignedTransaction(CoinType.CARDANO, cardanoTransacion);
```


---

# Agent Instructions: 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/cardano.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.
