jl777
7 years ago
2 changed files with 4 additions and 2 deletions
@ -1,4 +1,6 @@ |
|||
#!/bin/bash |
|||
source userpass |
|||
curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"withdraw\",\"coin\":\"HUSH\",\"outputs\":[{\"t1JTXxWyBrxdWNTaNa5gYPPfpJkhqESvyov\":$1}], \"opreturn\":\"deadbeef\"}" |
|||
curl -X POST -H --url 'http://127.0.0.1:7783' --data '{"userpass":"'$userpass'","method":"withdraw","coin":"COQUI","outputs":[{"RGCVXhUxepCxh77thy7XgMrQ5XU9u7SWSR":0.01}], "opreturn":"$(echo -n \"$1\" | od -A n -t x1 | sed \'s/ //g\')"}' |
|||
|
|||
#curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"withdraw\",\"coin\":\"HUSH\",\"outputs\":[{\"t1JTXxWyBrxdWNTaNa5gYPPfpJkhqESvyov\":$1}], \"opreturn\":\"deadbeef\"}" |
|||
|
|||
|
Loading…
Reference in new issue