# Tezos

## **getTezosSignedTransaction**

**This function for :**

* `TEZOS` (XTZ)
* `XTZ_FA`
* `TEZOS_TESTNET` (XTZ)
* `XTZ_FA_TESTNET`

### **Parameters**

<table><thead><tr><th width="133.33333333333331">Parameter</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>coinType</td><td><code>CoinType</code></td><td>tezos coin type.</td></tr><tr><td>transaction</td><td><a href="#class-tezostransaction">TezosTransaction</a></td><td>tezos transaction parameters.</td></tr></tbody></table>

#### **class** TezosTransaction

<table><thead><tr><th width="173.33333333333331">Name</th><th width="169">Type</th><th>Description</th></tr></thead><tbody><tr><td>hdKeyPath</td><td><code>Bip44KeyPath</code></td><td>sign key path for tezos transaction</td></tr><tr><td>sigHash</td><td><code>String</code></td><td>transaction that has not been signed of tezos transaction</td></tr><tr><td>decimals</td><td><code>int</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>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 tezos transaction</td></tr><tr><td>optionParam</td><td><code>String</code></td><td>(optional)option parameter</td></tr></tbody></table>

### **Returns**

`String` - 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**

```java
String keyPath = "m/44'/1729'/0'/0/0";
TezosTransaction tezosTransaction;

tezosTransaction = new TezosTransaction.Builder()
                    .keyPath(Bip44KeyPath.valueOf(keyPath))
                    .sigHash("03151ca887e6eda35fa2a169fda1b45bb0d3b47333b238b158481831b15a4161cd6c0021298384724bff62370492fbb56f408bf6f77bcfa907cdd6f804de22480001a91dcdedf09a5bf550e561e7eb4e00d5a6372c3d00ffff087472616e736665720000005907070100000024747a314e664e6973683565785351723146474563734b786b4c66454b347177616175696e07070100000024747a3156355733543845696176796252655166664e454c526f39334437663166506f575600a90f")
                    .fee("0.00314")
                    .decimals(9)
                    .symbol("GOLD")
                    .build();

String response = mDcentmanager.getTezosSignedTransaction(CoinType.TEZOS, tezosTransaction);
```


---

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