Addresses used in this sample:
Source: n3D2YXwvpoPg8FhcWpzJiS3SvKKGD8AXZ4 Destination: mvwhcFDFjmbDWCwVJ73b8DcG6bso3CZXDj
Tx is created in sample CreateTransaction
Private key must have the same format as returned by Generate Address Endpoint: http://dev.blockcypher.com/?#generate-address-endpoint
Create, Sign and Send Transaction
This sample code demonstrate how you can sign a transaction and send it to the network, as documented here at: http://dev.blockcypher.com/#creating-transactions
API used: POST /v1/btc/main/txs/new and POST /v1/btc/main/txs/send