I'm reading through the wiki page on Contracts (
https://en.bitcoin.it/wiki/Contracts) and am trying to understand exactly where in the transaction the various SIGHASH flags are placed and how they interact with the inputs/outputs. By reading the page on OP_CHECKSIG (
https://en.bitcoin.it/wiki/OP_CHECKSIG) I still can't quite visualize what a transaction with these flags would actually look like. Does anyone know where I can find an example of one of these multi-sig transactions? Ideally, the format used for the basic transactions page (
https://en.bitcoin.it/wiki/Transactions) would be great, but just seeing a plaintext example of one of these transactions would be really helpful.