Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityAnybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
Am trying to send sats to multiple addresses within the same transaction
Following the doc, the call should be something like this :
MACAROON_HEADER="Grpc-Metadata-macaroon: $(xxd -p -c 1000 .lnd/data/chain/bitcoin/testnet/admin.macaroon)" curl -X POST --cacert .lnd/tls.cert --header "$MACAROON_HEADER" https://localhost:8080/v2/wallet/send \ -d '{ "label":"test","min_confs":1,"outputs":[{"pk_script":"0014027402ca85dc688ae8a4377a317bcf375a15687f","value":"10000"},{"pk_script":"0014fc8a1e25f8e00be7dc8c37fbaa264f2519c7d097","value":"20000"}],"sat_per_kw":"1","spend_unconfirmed":false}'
I tried (in regtest and testnet) every value from 10000sats to 10000000sats but i always get the error :
{"code":2, "message":"transaction output is dust", "details":[]}
Not sure if am missing something here or the error message is misleading ...
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments