Skip to content

[Zig] Implement FeeOracle module #369

@roninjin10

Description

@roninjin10

Summary

Implement FeeOracle module in Zig for gas price estimation.

Required Features

Gas Price Estimation

  • getGasPrice - Legacy gas price
  • getMaxFeePerGas - EIP-1559 max fee
  • getMaxPriorityFeePerGas - EIP-1559 priority fee
  • estimateFees - Combined fee estimation

Fee History

  • getFeeHistory - Historical fee data
  • Percentile calculations
  • Base fee prediction

Blob Fees (EIP-4844)

  • getBlobBaseFee - Current blob base fee
  • estimateBlobFees - Blob fee estimation

Strategies

  • Fast/Standard/Slow presets
  • Custom percentile support
  • Network-specific defaults

Current State

Module missing entirely in Zig.

Note: Issue created by Claude AI assistant, not @roninjin10 or @fucory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions