Skip to content

Re-Build Recurring RPC Calls for Chain Revenue #1158

Open
@MSilb7

Description

For any OP Stack chain where we have a valid mainnet RPC, we can call totalProcessed() and get the ETH balance for each fee vault address on a regular cadence in order to get "all-time fees paid."

Then the deltas between each pull imply the revenue earned in that period (i.e. if we return 10 ETH yesterday, and 12 ETH today, we can calculate 10-12 = 2 ETH earned today.

See:

Notes:

  • There is a dependency on where we pull chain metadata & RPCs from Re-Build Chain Metadata Tables #890
  • Do we only pull chains in the Superchain, or all identified OP Stack chains?

There may be consistent "RPC Call" utilities we can use across other jobs, such as #934 .

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions