Litecoin
Litecoin Wallets & Addresses Derive Litecoin addresses, query balances, and compute BIP-44 derivation paths with Zafeguard Litecoin components.
Components for Litecoin address derivation, balance queries, and BIP-44/49/84/86 path computation.
COMPUTE_LITECOIN_ADDRESS Workflow Component
Derives a Litecoin address from a public key with configurable payment type and optional custom bech32 prefix.
Field Type Required Description paymentType'p2pkh' | 'p2sh-p2wpkh' | 'p2wpkh' | 'p2tr'Yes Litecoin payment type (address format) network'mainnet' | 'testnet'Yes Target Litecoin network bech32Prefixstring | nullNo Custom bech32 HRP (e.g. ltc, tltc). null uses the network default
Field Type Description publicKeystring (hex)Public key — compressed 33 bytes (66 hex) or uncompressed 65 bytes (130 hex)
Field Type Description addressstringDerived Litecoin address
import { WorkspaceClient , ComponentModule } from '@zafeguard/caller-sdk' ;
const workspace = new WorkspaceClient ({ apiKey : process . env . ZAFEGUARD_API_KEY ! });
const result = await workspace . call ( ComponentModule . COMPUTE_LITECOIN_ADDRESS , {
publicKey : '02abc123...' ,
}). promise ();
console . log ( result . address );
GET_LITECOIN_ACCOUNT_BALANCE Workflow Component
Queries the blockchain and returns the total UTXO balance for a Litecoin address.
Field Type Required Default Description network'mainnet' | 'testnet'Yes — Target Litecoin network confirmedOnlybooleanNo trueWhen true, only counts confirmed UTXOs. When false, includes mempool UTXOs
Field Type Description addressstringLitecoin address to query
Field Type Description balancenumberTotal balance in litoshis
GET_LITECOIN_DERIVATION_PATH Workflow
Returns the BIP-44/49/84/86 derivation path for a Litecoin account. The BIP standard is inferred from the payment type: P2PKH → BIP-44 (m/44'), P2SH-P2WPKH → BIP-49 (m/49'), P2WPKH → BIP-84 (m/84'), P2TR → BIP-86 (m/86'). Coin type is 2 for Litecoin.
Field Type Required Default Description paymentType'p2pkh' | 'p2sh-p2wpkh' | 'p2wpkh' | 'p2tr'Yes — Determines the BIP purpose level hardenedbooleanNo trueWhen true, applies the hardened bit (0x80000000) to purpose, coinType, and account levels
Field Type Description accountIndexnumberAccount index (0-based) changeIndexnumberChange index — 0 for external (receiving), 1 for internal (change) addressIndexnumberAddress index within the change level (0-based)
Field Type Description derivationPathnumber[]Derivation path as integers: [purpose, 2, account, change, addressIndex] with optional hardened bit applied