Hedera (HBAR & HTS)
Get Public Key
In order to get public key for Hedera Account, you can use getAddress()
function.
If you use DcentCLIConnector.coinType.HEDERA
as a coinType parameter for getAddress()
function, you can get public key for the private key of the BIP44 path.
For more detail about getAddress()
, please see the below section.
go to Get Address API description
Sign Transaction
Supported Transaction Types
AccountCreateTransaction
O
Accounts
AccountUpdateTransaction
O
Accounts
TransferTransaction
O
Accounts
AccountDeleteTransaction
X
Accounts
AccountAllowanceApprovalTransaction
X
Accounts
AccountAllowanceAdjustTransaction
X
Accounts
TokenCreateTransaction
O
Token
TokenUpdateTransaction
O
Token
TokenDeleteTransaction
X
Token
TokenAssociateTransaction
O
Token
TokenDissociateTransaction
O
Token
TokenMintTransaction
O
Token
TokenBurnTransaction
O
Token
TokenFreezeTransaction
O
Token
TokenFeeScheduleUpdateTransaction
X
Token
TokenUnfreezeTransaction
O
Token
TokenGrantKycTransaction
X
Token
TokenRevokeKycTransaction
X
Token
TokenPauseTransaction
O
Token
TokenUnpauseTransaction
O
Token
TokenWipeTransaction
O
Token
For your reference, all transaction types for Hedera can be found here.
getHederaSignedTransaction()
Supported Coin Type
Hedera(HTS)
Parameters :
unsignedTx: unsigned hexadecimal tx Hedera Docs
path: key path, wallet sign with that private key with a given key path (BIP32 ex) "m/44'/144'/0'").
symbol: symbol, It is a symbol that the wallet displays on the screen.
decimals: hedera or hts token's decimals.
Requirements:
D'CENT Biometric Wallet version 2.19.3. or higher is required.
This feature is tested with Hedera JavaScript SDK v2.8.0
Usage:
Returned response object:
Last updated