pub fn fee_estimate_contracts(options: &Options) -> BaseSystemContracts
Expand description

Returns the system contracts for fee estimation.

Arguments

  • use_local_contracts - A boolean indicating whether to use local contracts or not.

Returns

A BaseSystemContracts struct containing the system contracts used for handling ‘eth_estimateGas’. It sets ENSURE_RETURNED_MAGIC to 0 and BOOTLOADER_TYPE to ‘playground_block’