Skip to content

Instantly share code, notes, and snippets.

@21isenough
Last active April 14, 2022 18:58
Show Gist options
  • Save 21isenough/612bfb4d4db4f19919138f3540a1dee3 to your computer and use it in GitHub Desktop.
Save 21isenough/612bfb4d4db4f19919138f3540a1dee3 to your computer and use it in GitHub Desktop.
Broadcast raw hex transaction over blockstreams TOR API
For context: https://twitter.com/21isenough/status/1255182788686462983?s=20
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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment