Developers FAQs and Error Handling
Developers Frequently asked questions and Error Handling
Error-Message: "Error creating transaction (wallet may be locked or fees may not be sufficient)."
This error is typically caused by providing an incorrect or encrypted passphrase. Ensure that the correct passphrase is used, verify that the wallet is loaded and that sufficient fees are available for the transaction.
Error-Message: "Object reference not set to an instance of an object."
This error suggests that the provided input parameters are incorrect or incomplete. To resolve it, verify all parameters before making the API request to ensure that the values are valid and the required objects are properly initialized.
Error-Message: "Error with selected inputs for the send transaction."
This error indicates that the specified address does not have sufficient funds to create the transaction. Ensure that the address holds enough balance to cover the transaction amount and any associated fees.
Error-Message: "Wallet file verification failed: Error loading wallet <your wallet name>. Duplicate -wallet filename specified.
This error indicates that the wallet you are trying to load is already loaded. To resolve this, check if the wallet is already loaded and avoid reloading it.
Error-Message: "No full public key for address <one of your address>"
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.
Error-Message: "Error validating redemption address"
This error occurs when an incorrect wallet name is provided for the redemption address while creating a collection. Ensure that you are using the correct wallet name associated with the address for which the collection is being created.
Error-Message: "Error with selected inputs for the send transaction"
This error indicates that the specified address does not have sufficient funds to create the transaction. Ensure that the address holds enough balance to cover the transaction amount and any associated fees.
What is the difference between Wallet-balance & Address-balance?
Wallet Balance refers to the total Litecoin balance across all addresses that have been explicitly generated within the wallet. Default addresses are not considered as generated addresses. Address Balance represents the Litecoin balance associated with a specific individual address.
Is it possible for the wallet balance to differ from the sum of all individual address balances?
Yes, discrepancies are absolutely possible. When you import a wallet, a recovery process is triggered to retrieve funds from all the default addresses associated with the mnemonic phrase. These funds are then consolidated into your default ltc1
address using UTXOs (Unspent Transaction Outputs).
However, because the default address is not considered a "generated" address, its balance is not included in the wallet balance initially. It's only after you perform your first transaction that the default address is automatically generated to get change back. From that point on, the balance of the default ltc1
address will also be included in the wallet balance calculation.
Last updated
Was this helpful?