Bitcoin
How to calculate transaction fees?

I would like to know the script size. For example, P2Pkh is 34 and p2sh is 32. So what is a taproot and how is it calculated? Based on address length?
I would like to know the script size. For example, P2Pkh is 34 and p2sh is 32. So what is a taproot and how is it calculated? Based on address length?