Skip to content

Instantly share code, notes, and snippets.

@manosv
Forked from 21isenough/.bashrc
Created April 29, 2020 14:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manosv/e42e82354ba7df28034fc6f5472eace6 to your computer and use it in GitHub Desktop.
Save manosv/e42e82354ba7df28034fc6f5472eace6 to your computer and use it in GitHub Desktop.
Broadcast raw hex transaction over blockstreams TOR API
TorThisTx() {
# Rename "TorThisTx() to whatever you want the command to be
# Broadcast raw hex transaction over blockstreams TOR API with curl
curl --socks5-hostname localhost:9050 -d $1 -X POST http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/api/tx
}
@GlenCooper
Copy link

Works beautifully, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment