get_ltc_balance
Retrieve on-chain Litecoin balance for a mainnet address, returning confirmed and mempool litoshis with an LTC decimal projection.
Instructions
Return the on-chain balance for one Litecoin mainnet address via the Esplora indexer (litecoinspace.org by default; override via LITECOIN_INDEXER_URL env var or userConfig.litecoinIndexerUrl). Returns confirmed + mempool litoshis and an LTC-decimal projection. Accepts L/M/3/ltc1q/ltc1p — the read path validates format only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Litecoin mainnet address. Accepts legacy (L...), P2SH (M...), legacy P2SH (3...), native segwit (ltc1q...), or taproot (ltc1p...). Note that Litecoin Core has not activated Taproot on mainnet, so ltc1p... outputs derive but are not yet spendable. Testnet (tltc1...) and MWEB (ltcmweb1...) addresses are not supported. |