0

https://api.blockcypher.com/v1/btc/main/txs/new?token={{TOKEN}}

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). Provide this in a partially-filled out TX request object.

From where can I get input addresses to create transaction?

2

It's simply the address(es) that you want to send Bitcoins from.

1
  • I thought these were the addresses from which input transactions were sent. – D .Stark Feb 8 at 23:16
0

I think you need to use the Address API with the Address Balance Endpoint. If you set the flag unspentOnly to true the response will only include unspent transaction outputs (UTXOs). Once you have a list of unspent transaction outputs you could use them as input for Create Transaction Call. I hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.