Skip to main content

Cardano

getCardanoSignedTransaction

This function is for:

  • CARDANO (ADA)
  • CARDANO_TESTNET (ADAt)

Parameters

ParameterTypeDescription
coinTypeCoinTypecardano coin type.
transactionCardanoTransactioncardano transaction parameters.

class CardanoTransaction

NameTypeDescription
hdKeyPathBip44KeyPathsign key path for cardano transaction
unsignedTxStringUnsigned transaction data of cardano transaction

Returns

String - signed transaction.

Requirements

  • DCENT Biometric Wallet version 2.7.0. or higher is required.

Example

String keyPath = "m/44'/1815'/0'/0/0";
CardanoTransacion cardanoTransacion;

cardanoTransacion = new CardanoTransacion.Builder()
.keyPath(Bip44KeyPath.valueOf(keyPath))
.unsignedTx("a400818258209087b68d8f59dca2a29a3f5c03db7b162ba2607fa930f95996d12b1a570a84ef01018182583901b552fcf04820629ec73d54cd8cac3fccb4902d81f7801b65c654a490f122908efcb7fc3b457a83c4a1a50a7e7e919694fdc195d55c1a1b961a00297398021a00028911031a0185c2df")
.build();

String response = mDcentmanager.getCardanoSignedTransaction(CoinType.CARDANO, cardanoTransacion);