Disregarding value, but instead going by size in the protocol, what are the largest transactions so far in the history of Bitcoin, in terms of:
- byte size
- number of inputs ("vin")
- number of outputs ("vout")
- total number of inputs and outputs
The largest single transaction to date is 465,554 bytes. It's hash is 659135664894e50040830edb516a76f704fd2be409ecd8d1ea9916c002ab28a2.
The same transaction has the largest number of inputs: 2,585.
Two transactions tie for the largest number of outputs: 623463a2a8a949e0590ffe6b2fd3e4e1028b2b99c747e82e899da4485eb0b6be and 5143cf232576ae53e8991ca389334563f14ea7a7c507a3e081fbef2538c84f6e both have 3,075 outputs
The same two transactions have the largest number of inputs plus outputs, although they only have a single input so the total is 3,076 inputs plus outputs.
Note, however, that the blockchain has been used to store information by manipulating output addresses so it is more than likely that the transactions listed in 3) are not "real", in that they do not contain spendable outputs.
i found transactions with 20,000 inputs cf1032c2213e6faea04f1813aa6890e7f588bb378cb98e7425aec83c11d4457c 30b3b19b4d14fae79b5d55516e93f7399e7eccd87403b8dc048ea4f49130595a f2e197a6d8d088b13afd0f99d4027da36a9413b9f3d7730ba5278132ebc950a7 8dabbf51f78c1e7286866af1de403118c5ddbe57ca93b54859245916d2bf1063 740ac533882221099e7202bbdafbb99ec589c6e74fd2fe7ca1274b46ea4f0a96 dd6067e71c04cb62f8e5aa52ecc99b01ffcd551a52727d046a2fabb14eb39b4d
Afaik, the largest transaction by size was the Mega Transaction mined by f2pool in 2015: It was 999,657 bytes, had 5,569 inputs and 1 output.