Last active
February 21, 2022 11:25
-
-
Save Siimone/eb3d3428a865f4d9bbcd804258ec5dd2 to your computer and use it in GitHub Desktop.
Error on Liquid Asset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elements-cli -rpcwallet=$$$ listunspent | jq '.[] | select(.asset == "54421555c89fbda44787e4b65866a98bdae65f030401b0a05fdc8988b6c4f162")' | |
{ | |
"txid": "e561c30c8d6c95441740321d6cf7a667ebd43e37d2b0d0be41eebab5a9319bdc", | |
"vout": 0, | |
"address": "ert1qfthk6r730pd85ecrkz9xqm2hx23fapheh27weh", | |
"scriptPubKey": "00144aef6d0fd1785a7a6703b08a606d5732a29e86f9", | |
"amount": 0.0001, | |
"asset": "54421555c89fbda44787e4b65866a98bdae65f030401b0a05fdc8988b6c4f162", | |
"amountblinder": "0000000000000000000000000000000000000000000000000000000000000000", | |
"assetblinder": "0000000000000000000000000000000000000000000000000000000000000000", | |
"confirmations": 1, | |
"spendable": true, | |
"solvable": true, | |
"desc": "wpkh([ee81b0fc/0'/1'/5']02f4c61095cc14059772ae35c1aea0933594b710a1e056df98f303f571cdbf2660)#30skfn9u", | |
"safe": true | |
} | |
elements-cli -rpcwallet=$$$ \ | |
walletcreatefundedpsbt \ | |
'[{"txid": "e561c30c8d6c95441740321d6cf7a667ebd43e37d2b0d0be41eebab5a9319bdc","vout":0}]' \ | |
'[{ | |
"ert1qqv243hr9959xa99fg5k0ykvhs5zws2w9vesg0e":0.00010000, | |
"asset": "54421555c89fbda44787e4b65866a98bdae65f030401b0a05fdc8988b6c4f162" | |
}]' \ | |
0 \ | |
'{"add_inputs":true,"fee_rate":0.1,"replaceable":true}' | |
output: `Insufficient funds` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment