Skip to content

Conversation

@jksusu
Copy link

@jksusu jksusu commented Oct 15, 2025

RPC uses subgraph instead

@llamabutler
Copy link

The adapter at projects/cookswap exports TVL:

juchain                   2.81 M

total                    2.81 M 

@llamabutler
Copy link

The adapter at projects/jamm exports TVL:

juchain                   18.37 M

total                    18.37 M 


let totalUSD = 0
pairs.forEach(pair => {
const usdValue = parseFloat(pair.reserveUSD)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use erc20:balanceOf instead of reading USD values from the subgraph

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#16628 (comment) Our chain RPC service provider does not support performance. Can we use subgraphs entirely? Please take a look at this closed PR.

@waynebruce0x waynebruce0x self-assigned this Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants