2
I know a normal transaction has 1 input and 2 outputs (if there is change that is the second output).
Lets say I'm withdrawing bitcoin from my gemini account and want to calculate the fees. How would I even know if it's 7 addresses sending (which would make the byte size of the transaction larger = higher miner fees) or just 1 address sending?
To further elaborate on test-net here is our system with withdrawing btc to another wallet: https://test-insight.bitpay.com/tx/8bc3db6a4a119e369752a52f0be39ae3a4d579adcdc49e9d92429b920000f934 https://test-insight.bitpay.com/tx/553a27e38a73ed90c792b70add3c3f894e94955440205917ee754787c17ea62b https://test-insight.bitpay.com/tx/cecf112c7e3494826b165f4bcbeca9ef20cc800dce3d433c04b070e4fbc1da81
Here is when I deposited back into our wallet (from copay wallet that supports test net): https://test-insight.bitpay.com/tx/5871e5957ef6ec67a336de01e6f3e4f6f4cffd9986d2f5db181fdcbf6b00d1e0

2What software? Typically your wallet is responsible for constructing transactions, and you don't do this manually. – Pieter Wuille – 2017-06-29T17:38:35.503
2What about it? What is your question? It's perfectly possible, a transaction is allowed to have an arbitrary number of inputs and outputs. – Nate Eldredge – 2017-06-29T17:47:13.343
A case scenario of how this would happen. How would one transaction do this? Is it kind of like 7 people sending money to two people (but one if the other is change). Or..? Are all those 7 outputs from one node / wallet that has different addresses? – Marc Alexander – 2017-06-29T17:49:43.800
2Bitcoin transactions don't send from/to addresses. They spend coins integrally and produce new ones. Is there are reference question/answer to explain this? – Pieter Wuille – 2017-06-29T17:50:55.070
Lets say I'm withdrawing bitcoin from my gemini account and want to calculate the fees. How would I even know if its 7 addresses sending (which would make the byte size of the transaction larger = higher miner fees) or just 1 address sending? – Marc Alexander – 2017-06-29T17:52:43.800
@MarcAlexander, that would be up to the software that is constructing the transaction. Gemini may allow you to customize and lower the fee...or it may not. If Gemini is constructing the transaction, then you will have to ask Gemini how they do it. – Jestin – 2017-07-03T14:57:39.007
@MarcAlexander: I've edited your title and retagged your question to better represent what you're actually asking about. Please feel free to revert or further edit your question if you feel that I didn't quite get it right. – Murch – 2017-07-06T17:34:56.593