Skip to main content

Tezos

getTezosSignedTransaction

This function is for:

  • TEZOS (XTZ)
  • XTZ_FA
  • TEZOS_TESTNET (XTZ)
  • XTZ_FA_TESTNET

Parameters

ParameterTypeDescription
coinTypeCoinTypetezos coin type.
transactionTezosTransactiontezos transaction parameters.

class TezosTransaction

NameTypeDescription
hdKeyPathBip44KeyPathsign key path for tezos transaction
sigHashStringtransaction that has not been signed of tezos transaction
decimalsinttransaction decimals of tezos transaction
symbolStringtransaction symbol of tezos transaction
feeStringtransaction fee of tezos transaction
* Fee value is configured in tezos(XTZ) unit.
nonceString(optional)transaction nonce of tezos transaction
optionParamString(optional)option parameter

Returns

String - signed transaction.

Requirements

  • DCENT Biometric Wallet version 2.23.1 or higher is required.
    • (for testnet) 2.24.1 or higher is required.

Example

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);