Bitcoin
Public Key – Are P2PKH transactions sent with an uncompressed key or a hash of a compressed key?
As far as Bitcoin’s consensus rules are concerned, the compressed and uncompressed keys for the same private key are separate keys.
The answer to your question is whatever the recipient’s wallet uses. Typically, the person who creates the address is also the recipient, so the sender doesn’t need to know or care about it. New software should generally only use compressed keys. This is because compressed keys are less time consuming.
Both are available in P2PKH. P2WPKH only allows keys that are compressed by policy. P2TR uses a completely different (x-specific) type of key.