# Algorand

## **getAlgorandSignedTransaction**

**This function for :**

* `ALGORAND`(ALGO)
* `ALGORAND_TESTNET`(ALGO)
* `ALGORAND_ASSET`
* `ALGORAND_ASSET_TESTNET`
* `ALGORAND_APP`
* `ALGORAND_APP_TESTNET`

### **Parameters**

| Parameter   | Type                                              | Description                      |
| ----------- | ------------------------------------------------- | -------------------------------- |
| coinType    | `CoinType`                                        | algorand coin type.              |
| transaction | [AlgorandTransaction](#class-algorandtransaction) | algorand transaction parameters. |

#### **class** AlgorandTransaction

<table><thead><tr><th width="152.33333333333331">Name</th><th width="171">Type</th><th>Description</th></tr></thead><tbody><tr><td>hdKeyPath</td><td><code>Bip44KeyPath</code></td><td>sign key path for algorand transaction</td></tr><tr><td>sigHash</td><td><code>String</code></td><td>transaction that has not been signed of algorand transaction</td></tr><tr><td>decimals</td><td><code>int</code></td><td>transaction decimals of algorand transaction</td></tr><tr><td>symbol</td><td><code>String</code></td><td>transaction symbol of algorand transaction</td></tr><tr><td>fee</td><td><code>String</code></td><td>transaction fee of algorand transaction</td></tr><tr><td>nonce</td><td><code>String</code></td><td>Not used</td></tr><tr><td>optionParam</td><td><code>String</code></td><td><p>(optional)option parameter:<br>- '00': ALGO transfer</p><p>- '01': ASSET transfer</p><p>- '02': ASSET Opt-in</p><p>- '03': APP ContranctCall</p><p>- '04': APP Opt-in</p><p>- '05': ASSET FT Creation</p><p>- '06': ASSET NFT Creation</p></td></tr></tbody></table>

### **Returns**

* `String` - signed transaction.

### **Requirements**

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

**Example**

```java
String keyPath = "m/44'/283'/0'/0/0";
AlgorandTransaction algorandTransaction;

algorandTransaction = new AlgorandTransaction.Builder()
                    .keyPath(Bip44KeyPath.valueOf(keyPath))
                    .sigHash("54588aa3616d74cf000000174876e800a3666565cd03e8a26676ce01f60f1ca367656eac746573746e65742d76312e30a26768c4204863b518a4b3c84ec810f22d4f1081cb0f71f059a7ac20dec62f7f70e5093a22a26c76ce01f61304a46e6f7465c4084669727374205478a3726376c420568d5f7efc21a0928e50234dfa58764a84128d1c127971f6a26f350500d0ce24a3736e64c420302be92b2e5fb14e540554f3b652c0350fcc77ea53488fed81c97555179040c8a474797065a3706179")
                    .fee("0.001")
                    .decimals(6)
                    .symbol("ALGO")
                    .build();

String response = mDcentmanager.getAlgorandSignedTransaction(CoinType.ALGORAND, algorandTransaction);
```


---

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