The electrum client for liquid does not work as seamlessly as bitcoin.
We are not able to directly use script_list_unspent to get utxos. We are instead using history, getting the last/latest transaction and finding the utxo from its output. This is not optimal. For the cases of swaps, it would work most of the time but this is not the cleanest way of doing it.
Try using either raw electrum calls or make script_list_unspent work properly.
The electrum client for liquid does not work as seamlessly as bitcoin.
We are not able to directly use
script_list_unspent
to get utxos. We are instead using history, getting the last/latest transaction and finding the utxo from its output. This is not optimal. For the cases of swaps, it would work most of the time but this is not the cleanest way of doing it.Try using either raw electrum calls or make
script_list_unspent
work properly.