CalculateDeprecatedTransactionHashCommon
Calculates the common transaction hash for deprecated transaction versions (V0, V1, V2) using the Pedersen hash algorithm.
Function Signature
func CalculateDeprecatedTransactionHashCommon(
txHashPrefix *felt.Felt,
version *felt.Felt,
contractAddress *felt.Felt,
entryPointSelector *felt.Felt,
calldata *felt.Felt,
maxFee *felt.Felt,
chainID *felt.Felt,
additionalData []*felt.Felt,
) *felt.FeltDescription
This internal helper function implements the deprecated (Pedersen-based) transaction hash calculation common to V0, V1, and V2 transactions. It is called by:
- TransactionHashInvokeV0
- TransactionHashInvokeV1
- TransactionHashDeclareV1
- TransactionHashDeclareV2
- TransactionHashDeployAccountV1
Note: The word "Deprecated" refers to deprecated transaction versions, not a deprecated function. V3 transactions use the newer Poseidon hash algorithm instead.

