# Cardano

## **getCardanoSignedTransaction**

**This function for :**&#x20;

* `.CARDANO` - cardano (ADA)
* `.CARDANO_TESTNET` - cardano testnet (ADAt)

### **Parameters**

* coinType: cardano networks coin type
* cardanoTransaction: ([CardanoTransation](#class-cardanotransaction))cardano transaction parameter

#### **class** CardanoTransaction

<table><thead><tr><th width="123.33333333333331">Name</th><th width="116">Type</th><th>Description</th></tr></thead><tbody><tr><td>unsigned</td><td><code>String</code></td><td>Unsigned transaction data of cardano transaction</td></tr><tr><td>key</td><td><code>String</code></td><td>sign key path for cardano transaction</td></tr></tbody></table>

### **Returns**

* result: (Bool) `true` if successful, `false` if error occurred
* txData: signed transaction

### **Requirements**

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

**Example**

```swift
let cardanoTransaction : CardanoTransaction = CardanoTransaction(unsigned: "a400818258209087b68d8f59dca2a29a3f5c03db7b162ba2607fa930f95996d12b1a570a84ef01018182583901b552fcf04820629ec73d54cd8cac3fccb4902d81f7801b65c654a490f122908efcb7fc3b457a83c4a1a50a7e7e919694fdc195d55c1a1b961a00297398021a00028911031a0185c2df", key: "m/44'/1815'/0'/0/0")

  
DcentMgr.getCardanoSignedTransaction(coinType: .CARDANO, cardanoTransaction: cardanoTransaction){ (result, txData) in
    print("Cardano Transaction closure")
    if result == false {
        print("FAIL !!!")
    }else{
        print(txData)
    }
}
```
