You can’t know for P2SH because of nested segwit.

Reply to this note

Please Login to reply.

Discussion

You'd know on the input side, and could get a percentage of spends at least.

Also can't know for P2TR.