Skip to main content

classify_payment_lane

Function classify_payment_lane 

Source
pub fn classify_payment_lane(raw: &[u8]) -> PaymentLaneClassification
Expand description

Classifies a raw EIP-2718 encoded transaction with Tempo’s T5 payment-lane classifier.

Bytes that do not decode as a Tempo envelope (e.g. EIP-4844 or Optimism deposit transactions) classify as PaymentLaneReason::UnsupportedTransactionType; callers that need to reject invalid transactions should validate the bytes beforehand.