TaPoS is used to ensure that a user fetches the recent state of the top of the blockchain to prove that they are aware of the state of the chain when signing a transaction. This helps to prevent certain forms of attacks, such as a replay attack where a malicious user tries to replay a transaction, despite the state of the associated accounts having already been changed.