Skip to content

Conversation

@DanielEmmanuel1
Copy link

398944669-2d7caae6-eedc-4c92-985a-0883597cd4ae
398944665-ab362a4f-a1e4-486d-b1fa-65eb0fbaf0bb

Copy link
Member

@helciofranco helciofranco left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution.

I'm wondering if we could get the tx mempool count for this to decide network conditions.

Example cURL just for reference (needs to use services and xstates to follow project's pattern)

curl --location 'https://testnet.fuel.network/v1/graphql' --header 'Content-Type: application/json' --data '{"query":"query getTxMempoolCount {\n    nodeInfo {\n        txPoolStats {\n            txCount\n        }\n    }\n}","variables":{}}'

Also missing to add a changeset (pnpm changeset)

@DanielEmmanuel1
Copy link
Author

Question please, can u quickly run me through how I can use txn count in the mempool to determine network status? @helciofranco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants