🔐Address Private Key V2

Get the private key of a particular address with mnemonics and other necessary parameters specified

Address Private Key with Mnemonics

GET /api/Address/get-address-privatekey-v2

Get the private key of a particular address using mnemonics (API reference)

Query Parameters

Name
Type
Description

Address*

String

the address to get it's pvt. key

Headers

Name
Type
Description

Content-Type*

application/json

application in JSON format

Authorization*

Bearer <your Key>

attach your API key here

Usev2*

String

Value should be true or yes

wallet*

String

Wallet Name in which address belongs to

mnemonics*

String

The 12-word mnemonic passphrase separated by space

Get Address Private Key v2 with Javascript SDK

Liaas SDK package installation

/** 
 * Get Address Private Key by mnemonics on Litecoin Blockchain
**/
 
//all the parameters specified here are the same as all the parameters in the API implementation
//pass your API key or Node URL, wallet name and mnemonics
const response = await liaasSdk.addressPrivateKey_v2(nodeUrl_or_apiAccessKey, address, mnemonics, wallet);

Last updated

Was this helpful?