Function reth_testing_utils::generators::random_tx

source ยท
pub fn random_tx<R: Rng>(rng: &mut R) -> Transaction
Expand description

Generates a random legacy Transaction.

Every field is random, except:

  • The chain ID, which is always 1
  • The input, which is always nothing