Create a new instance of TX object
To use BlockCypher’s two-endpoint transaction creation tool, first you need to provide the input address(es), output address, and value to transfer (in satoshis). This is provided in the form of a partially-filled out TX request object.
"inputs": [ { "addresses": [ "n3D2YXwvpoPg8FhcWpzJiS3SvKKGD8AXZ4" ]
], "outputs": [ { "addresses": [ "mvwhcFDFjmbDWCwVJ73b8DcG6bso3CZXDj" ], "value": 1000
]
Tx inputs
Tx outputs
For Sample Purposes Only.
Create TX Sample (without sending it)
This sample code demonstrate how you can create a new transaction, as documented here at: http://dev.blockcypher.com/#creating-transactions API used: POST /v1/btc/main/txs/new