Generate Default Address

Generate address from a wallet

Litecoin as a Service (Generate Default Address)

To deterministically derive/generate a default address from the created wallet, utilize this endpoint. This process involves providing the address type and label while additionally including the Encrypted passphrase and wallet name in the request header.

Generate Default Address (API referencearrow-up-right)

POST /api/Address/generate-default-address

A post request to generate a default address on the Litecoin Blockchain

Headers

Name
Type
Description

Content-Type

application/json

Authorization*

Bearer <your api key>

Attach your API key here

wallet*

String

The wallet Name you created

encryptedPassphrase*

String

Encrypted Passphrase

Usev2*

String

Value should be true or yes

Request Body

Name
Type
Description

label*

string

Label of the Address

type*

Number

the type of address to be generated from the wallet for example type of 1 will generate a Legacy address (LgtX3V4qf55zZFsaD8dYLxPv3ZcMn5PCLa)

type of 2 or any other number will generate SegWit Address (M9PU6rzebMofSVjbi2LALPqWJAQ3hMhkGs)

type of 3 will generate native-SegWit Address (ltc1qytr4etxl3sqvmfa0ag7aj8md7spmh7puz0amu7)

Last updated

Was this helpful?