Skip to content

Instantly share code, notes, and snippets.

@Paydigi
Paydigi / gist:8e3b36c9907c27ee5862cd4e390d0e9a
Last active October 13, 2025 14:48 — forked from xbee/gist:a4db8404f3fbba7f0b3fa5ce34ff04d1
Create and send a Bitcoin transaction using the BlockCypher Transaction API #bitcoin #shell
# In this example we're sending some test bitcoins from an address we control to a brand new test
# address. We'll be sending the coins using the following address, public and private keys (please
# don't abuse).
# address : 3B6Y69iZiEFmneuNC82Xec2uvBhL8uNSvw
# public : 03bb318b00de944086fad67ab78a832eb1bf26916053ecd3b14a3f48f9fbe0821f
# private : KxqdGyFZyzDLYXryfFztKe7Sh8Q6rr7WRrAbAvvfPJJyQduJujng
# 1. generate a one-shot dummy address we're going to send money to
$ curl -X POST http://api.blockcypher.com/v1/btc/test3/addrs
{