# Tezos

## **getTezosSignedTransaction**

**This function for :**

* `.TEZOS` - tezos (XTZ)
* `.XTZ_FA` - tezos token
* `.TEZOS_TESTNET` - tezos testnet (XTZ)
* `.XTZ_FA_TESTNET` - tezos testnet token

### **Parameters**

* coinType: tezos networks coin type
* tezosTransaction: ([TezosTransation](#class-tezostransaction))tezos transaction parameter

#### **class** TezosTransaction

<table><thead><tr><th width="161.33333333333331">Name</th><th width="125">Type</th><th>Description</th></tr></thead><tbody><tr><td>sigHash</td><td><code>String</code></td><td>transaction that has not been signed of tezos transaction</td></tr><tr><td>key</td><td><code>String</code></td><td>sign key path for tezos transaction</td></tr><tr><td>fee</td><td><code>String</code></td><td>transaction fee of tezos transaction<br>* fee value is configured in tezos(XTZ) unit.</td></tr><tr><td>nonce</td><td><code>String</code></td><td>(optional)transaction nonce of polkadot transaction)</td></tr><tr><td>decimals</td><td><code>String</code></td><td>transaction decimals of tezos transaction</td></tr><tr><td>symbol</td><td><code>String</code></td><td>transaction symbol of tezos transaction</td></tr><tr><td>optionParam</td><td><code>String</code></td><td>(optional)option parameter</td></tr></tbody></table>

### **Returns**

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

### **Requirements**

* D'CENT Biometric Wallet version 2.23.1 or higher is required.
  * (for testnet) 2.24.1 or higher is required.

**Example**

```swift
let tezoseTransaction : TezosTransaction = TezosTransaction(sigHash: "032923211dc76b05a644c88df7507c6f2fd5100cb6ed11c236a270d97dbd53937c6c0021298384724bff62370492fbb56f408bf6f77bcfb905b8d6f804f51219a0e7010000678a5cb8807767a9d900311890526ad77bffbb3900", key: "m/44'/1729'/0'/0/0", fee: "0.000697", decimals: 6, symbol: "XTZ", optionParam: "")

DcentMgr.getTezosSignedTransaction(coinType: .TEZOS, tezosTransaction: tezoseTransaction) { (result, txData) in
    print("Binance Transaction closure")
    if result == false {
        print("FAIL !!!")
    }else{
        print(txData)
    }
}
```


---

# 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-ios/tezos.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.
