Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 1.65 KB

File metadata and controls

25 lines (23 loc) · 1.65 KB
  • Transaction object with the following fields:

    • from: (string) address (20 bytes) the transaction is sent from.
    • to: (string) [required] address (20 bytes) the transaction is directed to.
    • gas: (string) hexadecimal value of the gas provided for the transaction execution. eth_call consumes zero gas, but this parameter may be needed by some executions.
    • gasPrice: (string) hexadecimal value of the gasPrice used for each paid gas.
    • maxPriorityFeePerGas: (string) maximum fee, in wei, the sender is willing to pay per gas above the base fee.
    • maxFeePerGas: (string) maximum total fee (base fee + priority fee), in wei, the sender is willing to pay per gas.
    • value: (string) hexadecimal of the value sent with this transaction.
    • data: (string) hash of the method signature and encoded parameters. See Ethereum contract ABI specification.
  • block parameter: [Required] hexadecimal block number, or one of the string tags latest, earliest, pending, or finalized. See the default block parameter.

    :::warning safe isn't supported. Use finalized instead. :::

  • Optional tracing options object with the following fields:

    • tracer: (string) [optional] type of tracer. Supports callTracer or prestateTracer.
    • tracerConfig: (object) [optional] tracer configuration options:
      • onlyTopCall: (boolean) [optional] when true, will only trace the primary (top-level) call and not any sub-calls. It eliminates the additional processing for each call frame.