3

Every transaction output locks funds to one specific output script. These scripts can have various spending conditions such as for example requiring a signature of one specific private key (P2KH, P2KH, P2TR key path spend) or fulfillment of an arbitrary script defined by the recipient (P2SH, P2WSH, P2TR script path spend). A common script used in the latter ...


3

Blockcypher API shows only the example of how to compose a transaction with a single input, therefore, it might look like the array of addresses will do the job, but no. If you'll do this by passing addresses into one array of inputs: curl -d '{"inputs":[{"addresses":["addr1", "addr2"]}],"outputs":[{"...


2

After sleeping and looking at your question again, I think I am getting what you were asking. While in Ethereum it is common to have a single address when operating a wallet because there is efficiency of scale that way, the Bitcoin way of transacting is to treat addresses as invoice identifiers. You give out a new address for each payment that you expect to ...


1

Disclaimer: I have not tried this, I just glanced at the API documentation. H/T to eirlis for providing the correct syntax. As the API documentation for Creating Transactions specifies, you provide the addresses that you received your funds to in the inputs parameter. The API documentation has this example using curl: curl -d '{"inputs":[{"...


Only top voted, non community-wiki answers of a minimum length are eligible