Create Multi Signature Address (preview)

create multiple signature address on Litecoin blockchain (preview)

​A POST request to generate a multi-signature address on the Litecoin Blockchain

Generate multi-signature address (API Reference)

GET /api/Address/create-multi-sig-address

​A POST request to generate a multi-signature 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

Usev2*

String

Value should be true or yes

Request Body

Name
Type
Description

nrequired*

Integer

number of address required to sign a transaction

addresses*

String

addresses to be given privilege to sign a transaction. NB: separate the addresses with a comma

address_type*

String

Address type to be generated

Create Multi-Signature Address SDK

Liaas SDK package installation

/** 
 * Generate multi-signature address on Litecoin Blockchain
**/

//pass your API key or Node URL, wallet name and encrypted key
const response = await liaasSdk.createMultiSignatureAddress(nodeUrl_or_apiAccessKey,
wallet,
encrpytedPassphrase,
addresses,
nreqired,
address_type);

FAQs: Common Error Handling and Solutions

  1. Error: "No full public key for address <one of your address>" Solution: This error occurs when one of the addresses provided does not belong to the specified wallet. Ensure that all addresses being used for multi-signature belong to the same wallet before proceeding.

Last updated