Browse Source

Updated txblast script

You need to specify:
passphrase: for an address NOT in your wallet!
utxotxid, utxovout and utxovalue (in satoshi)
txfee must be enough for the transaction
numblast if left off will consume the entire utxotxid at about 100
tx/sec
Broadcast:0 for test run, 1 to actually broadcast

The rest of the parameters are just like “withdraw” it will just blast
away and use only one utxo
patch-3
jl777 7 years ago
parent
commit
c9552b82e9
  1. 3
      iguana/exchanges/txblast

3
iguana/exchanges/txblast

@ -1,3 +1,4 @@
#!/bin/bash
source userpass
curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"password\":\"default\",\"utxotxid\":\"44ea381e265a29ead0a23d93245be26f828c6e0098e7732fb4101d46c50b8687\",\"utxovout\":1,\"utxovalue\":100000000,\"txfee\":20000,\"method\":\"txblast\",\"coin\":\"PIZZA\",\"outputs\":[{\"RUgW6fLfVsLJ87Ng4zJTqNedJSKYQ9ToAf\":0.0001}, {\"RLMHGUQginEGrnRtHoFBPZhLC9jeVdt1th\":0.0001}]}"
curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"broadcast\":1,\"numblast\":1000,\"password\":\"default\",\"utxotxid\":\"bf8b73b2f72fbff1546811749eba3a028bce6320e5cdf2ae1ae414277661fb13\",\"utxovout\":1,\"utxovalue\":100000000,\"txfee\":20000,\"method\":\"txblast\",\"coin\":\"PIZZA\",\"outputs\":[{\"RUgW6fLfVsLJ87Ng4zJTqNedJSKYQ9ToAf\":0.0001}, {\"RLMHGUQginEGrnRtHoFBPZhLC9jeVdt1th\":0.0001}]}"

Loading…
Cancel
Save