Hedera (HBAR & HTS)
Get Public Key
In order to get public key for Hedera Account, you can use getAddress()
function.
If you use DcentWebConnector.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
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 Bridge
version 1.2.1 or higher is required.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