Stellar
getStellarSignedTransaction
This function is for:
STELLAR(XLM)STELLAR_TAXLM_TESTNET(XLMt)XLM_TA_TESTNET
Parameters
| Parameter | Type | Description |
|---|---|---|
| coinType | CoinType | stellar coin type. |
| transaction | StellarTransaction | stellar transaction parameters. |
class StellarTransaction
| Name | Type | Description |
|---|---|---|
| hdKeyPath | Bip44KeyPath | sign key path for stellar transaction |
| signBytes | String | transaction that has not been signed of stellar transaction |
Returns
String - signed transaction.
Requirements
- DCENT Biometric Wallet version 2.1.0. or higher is required.
Example
String keyPath = "m/44'/148'/0'";
StellarTransaction stellarTransaction;
stellarTransaction = new StellarTransaction.Builder()
.keyPath(Bip44KeyPath.valueOf(keyPath))
.signBytes("7ac33997544e3175d266bd022439b22cdb16508c01163f26e5cb2a3e1045a9790000000200000000d147b20efbeb51a8f8eea50f4ce1ad549796a509236c3cad056e22cf3e3e6f0b000000640005821d00000004000000010000000000000000000000005ec76b4a00000000000000010000000000000000000000005e3deafcf4bee3bf40a85e4f93bdf7d94e62a05e811ed787f9d04bc983ec207b0000000049504f8000000000")
.build();
String response = mDcentmanager.getStellarSignedTransaction(CoinType.STELLAR, stellarTransaction);