Tezos

getTezosSignedTransaction

This function for :

  • TEZOS (XTZ)

  • XTZ_FA

  • TEZOS_TESTNET (XTZ)

  • XTZ_FA_TESTNET

Parameters

ParameterTypeDescription

coinType

CoinType

tezos coin type.

transaction

tezos transaction parameters.

class TezosTransaction

NameTypeDescription

hdKeyPath

Bip44KeyPath

sign key path for tezos transaction

sigHash

String

transaction that has not been signed of tezos transaction

decimals

int

transaction decimals of tezos transaction

symbol

String

transaction symbol of tezos transaction

fee

String

transaction fee of tezos transaction * Fee value is configured in tezos(XTZ) unit.

nonce

String

(optional)transaction nonce of tezos transaction

optionParam

String

(optional)option parameter

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

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

Last updated