Open
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
Labels
No labels