livepeer / livepeer/explorer

Replace treasury data fetch with subgraph query

Open
#419 0 comments 0 reactions 1 assignee View on GitHub

@ECWireless is already working on this.

Since Nov 26, 2025.

data enhancement
Dominant language
TypeScript
Stars
11
Forks
26
Avg merge
11h 58m
Merged PRs (30d)
16

Description

Is your feature request related to a problem?

Right now we use RPC calls to get information about treasury proposal (see https://github.com/livepeer/explorer/blob/5e54fca468c14167137f38d562dba0719b053857/pages/api/treasury/proposal/%5BproposalId%5D/state.tsx#L71). This makes the endpoint sensitive to RPC outages, rate limits, and node lag.

Describe the solution you'd like

Since treasury proposal + voting information does not need to be strictly real-time on a per-block basis, it’s a good candidate to move over to the Livepeer Subgraph when this upstream pull request has been merged.

Describe alternatives you've considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.