This question already has an answer here:

What sort of verification is done on a bitcoin transaction? This is because the transaction has already been hashed by the miner. So how can other nodes in the network say that the transaction is valid when they cannot see the transaction contents?

marked as duplicate by pebwindkraft, alcio, Community Feb 16 '18 at 10:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • This is a quite generic question, and deserves lots of explanation :-) in short, All nodes can see the transactions, and they are verified. The verification is explained here: en.bitcoin.it/wiki/Transaction, and also you might look into bitcoin.org and the developer section. Maybe after having read a bit, precise the question a bit more? – pebwindkraft Feb 12 '18 at 10:45

A Bitcoin transaction is validated against the consensus rules. This includes that any inputs in the transaction have not already been spent (they are valid utxo's used as the inputs) and several other things.

The contents of transactions can be seen but the transaction outputs cannot be unlocked to be spent without the correct key to sign for the receiving address.

You can have a look on blockchain.info if you are interested and look up transactions, addresses or, blocks.

You can find a very good Bitcoin primer in this video:

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