WHAT ARE BITCOIN INPUT AND OUTPUT

In Bitcoin and its altcoin copies, every transaction requires at least one input and one output.

Bitcoin transaction inputs are what go into a transaction (making up what is being sent), and outputs are what come out (making up what is being received).

A transaction input refers to a sender-address from which the money has to be transferred, and a transaction output refers to a recipient-address to which the money has to be credited.

Each time you make a transaction, its input values must be collected from the sender(s), and all output values must be defined by you.

Source: https://support.blockchain.com



TO COLLECT BITCOIN TRANSACTION INPUTS

To create a Bitcoin transaction manually, first you need to collect all transaction inputs.

To collect transaction inputs manually, you should use some third-party service known as API or proxy.

We suggest the following API gateway:

Blockcypher Bitcoin API

BTC Endpoint: https://api.blockcypher.com/v1/btc/main/addrs/YOUR_BITCOIN_ADDRESS

BTC Testnet3 Endpoint: https://api.blockcypher.com/v1/btc/test3/addrs/YOUR_BITCOIN_TEST3_ADDRESS

LTC Endpoint: https://api.blockcypher.com/v1/ltc/main/addrs/YOUR_LITECOIN_ADDRESS

DASH Endpoint: https://api.blockcypher.com/v1/dash/main/addrs/YOUR_DASHCOIN_ADDRESS

DOGE Endpoint: https://api.blockcypher.com/v1/doge/main/addrs/YOUR_DOGECOIN_ADDRESS

The result looks like:

Click Raw Data tab on the result screen and copy the data there: