I am trying to use simple spend function to transfer litecoins from one wallet to another wallet. The receiver wallet address is something like "ltc1qlcptsyemnw9dmh4peux2xcyz8tr5l490y68lhj" and this gives me error :
I tried a different format Litecoin address and it seems to work, Example: "LRkzJFHR9PgdPvG2zt622DWgH3Hnw29qD4"
print(simple_spend(from_privkey=private_key, to_address=address,
File "/opt/homebrew/lib/python3.10/site-packages/blockcypher/api.py", line 1701, in simple_spend
raise Exception('TX Verification Error: %s' % err_msg)
Exception: TX Verification Error: Script 0014fe02b8133b9b8adddea1cf0ca360823ac74fd4af Does Not Contain a Valid Output Address: {'ltc1qlcptsyemnw9dmh4peux2xcyz8tr5l490y68lhj', 'LRkzJFHR9PgdPvG2zt622DWgH3Hnw29qD4'}
I am trying to use simple spend function to transfer litecoins from one wallet to another wallet. The receiver wallet address is something like "ltc1qlcptsyemnw9dmh4peux2xcyz8tr5l490y68lhj" and this gives me error :
I tried a different format Litecoin address and it seems to work, Example: "LRkzJFHR9PgdPvG2zt622DWgH3Hnw29qD4"
Usage:
Other functions like get_address_details are working for all types of wallet addresses, the problem seems to be only in simple_spend function.
Can you please help or suggest a workaround.