These docs are for v2.0. Click to read the latest docs for v3.0.
fixed

Signing Method Update & Importing Litecoin Wallet

This release includes updates to signing method use, improved error messages, and the ability to import a Litecoin wallet with a passphrase.

Signing Method Updates

  • The maximum allowed consecutive number of incorrect attempts is three.
  • After three consecutive incorrect attempts, the signing method is locked for 24 hours.
  • The counter resets when you have a successful attempt.
  • If the maximum incorrect attempts have been reached 10 times, the signing method is permanently blocked (no 24-hour waiting time)
  • You must contact support to unlock your permanently blocked signing method.

Improved Error Messages

  • Improved error messages with signing methods.
  • The error response includes details of the issue for example:
    • If the signing method is required for a call.
    • If the signing method is not needed for a call.
  • Improved error message when you enter an incorrect ENUM parameter value.

Import Litecoin Wallet with Passphrase

You can now import a Litecoin wallet using a passphrase.

Example Request: reference

POST /api/wallets/import
ParameterParam TypeValueDescription
Signing-MethodHeaderid:valueid: This is the ID of the signing method
value: This is the value of the signing method

Request Body

{
  "importWalletType": "LITECOIN_WIF_PASSPHRASE",
  "userId": "d807d23d-a4d9-4615-ac50-49a8ced9fed6",
  "wif": "wif",
  "passphrase": "passphrase"
}
ParameterParam TypeDescriptionData TypeMandatory
importWalletTypeBodyThe type of import (eg. LITECOIN_WIF_PASSPHRASE)String
wifBodyThe wif (wallet import format)String
passphraseBodyThe passphrase of the walletString
userIdBodyThe ID of the user you want to link this wallet toString
pincode (Deprecated)BodyThe pincode to encrypt the walletString