skills/bitquery-graphql-skill/SKILL.md
Use Bitquery GraphQL through UXC for onchain trades, transfers, token holder analysis, balances, and market structure queries across supported networks, with OAuth client_credentials authentication and query-first execution.
npx skillsauth add holon-run/uxc bitquery-graphql-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to run Bitquery GraphQL API operations through uxc.
Reuse the uxc skill for discovery, GraphQL execution, OAuth lifecycle, and generic error handling.
uxc is installed and available in PATH.https://streaming.bitquery.io/graphql.client_id and client_secret are available.Bitquery uses bearer access tokens. The most stable agent path is OAuth client_credentials, not a copied temporary token.
client_idclient_secretapiuxc auth oauth login bitquery-graphql --endpoint https://streaming.bitquery.io/graphql --flow client_credentials --client-id <client_id> --client-secret <client_secret> --scope api --token-endpoint https://oauth2.bitquery.io/oauth2/tokenuxc auth binding add --id bitquery-graphql --host streaming.bitquery.io --path-prefix /graphql --scheme https --credential bitquery-graphql --priority 100uxc auth binding match https://streaming.bitquery.io/graphqluxc auth oauth info bitquery-graphqlcommand -v bitquery-graphql-cliuxc link bitquery-graphql-cli https://streaming.bitquery.io/graphqlbitquery-graphql-cli -hbitquery-graphql-cli -hquery/EVM, query/Solana, query/Trading, query/Tron, and matching subscription/* roots.bitquery-graphql-cli query/EVM -hbitquery-graphql-cli query/Trading -hbitquery-graphql-cli query/EVM '{"network":"base","dataset":"combined","_select":"DEXTrades(limit: {count: 1}) { Transaction { Hash } }"}'query/* operations first.
uxc subscribe now auto-negotiates modern graphql-transport-ws and legacy graphql-ws compatibility profiles for subscription/*._select that matches a stream-friendly entity shape.subscription/EVM as the first validation target rather than subscription/Trading.query/EVMsubscription/EVMquery/Solanasubscription/Solanaquery/Tradingsubscription/Tradingquery/Tronsubscription/TronWithin those roots, Bitquery exposes entities for tasks such as:
Always inspect the current schema with -h and use the narrowest _select needed.
For subscriptions specifically:
_selectsubscription/EVMlimitbitquery-graphql-cli query/EVM -hbitquery-graphql-cli query/EVM '{"network":"eth","dataset":"combined","_select":"DEXTrades(limit: {count: 1}) { Transaction { Hash } }"}'_select:
limitorderBywhere./target/debug/uxc subscribe start https://streaming.bitquery.io/graphql subscription/EVM '{"network":"bsc","mempool":true,"_select":"Transfers { Transaction { Hash From To } Transfer { Amount Type Currency { Name } } }"}' --auth bitquery-graphql --sink file:$HOME/.uxc/subscriptions/bitquery-mempool.ndjsonThe following authenticated Bitquery flow was verified successfully through uxc:
client_credentialshttps://streaming.bitquery.io/graphqlquery/EVM -hquery/EVM call on basesubscription/EVM over WebSocket against live Bitquery infradata events from a BSC mempool transfer streamThe verified query shape was:
{
"network": "base",
"dataset": "combined",
"_select": "DEXTrades(limit: {count: 1}) { Block { Time } Transaction { Hash } Trade { Buy { Amount Buyer Currency { Symbol SmartContract } } Sell { Amount Seller Currency { Symbol SmartContract } } } }"
}
The verified subscription shape was:
{
"network": "bsc",
"mempool": true,
"_select": "Transfers { Transaction { Hash From To } Transfer { Amount Type Currency { Name } } }"
}
--text.ok, kind, protocol, data, error.bitquery-graphql-cli as the default command path.bitquery-graphql-cli <operation> ... is equivalent to uxc https://streaming.bitquery.io/graphql <operation> ...._select is usually required._select small on first pass and add explicit filters before expanding scope.query/* for stable agent workflows. subscription/* is now validated at runtime, but still depends on provider-specific selection shape.subscription/EVM and an explicit _select; do not assume an empty selection or subscription/Trading default shape will yield events.uxc auth binding match https://streaming.bitquery.io/graphql resolves to bitquery-graphqluxc auth oauth info bitquery-graphqluxc auth oauth refresh bitquery-graphqluxc auth oauth login ... --flow client_credentials ...client_credentials.references/usage-patterns.mddevelopment
Operate Feishu or Lark IM APIs through UXC with a curated OpenAPI schema, tenant-token bearer auth, and chat/message guardrails.
development
Operate X API v2 through UXC with the official OpenAPI schema, OAuth2 PKCE user-context auth, app-only bearer guidance, and read-first guardrails for timeline/bookmark/post workflows.
development
Operate GitHub REST API through UXC with the official OpenAPI schema, explicit gh-to-uxc auth import, and read-first guardrails for repo, issue, pull request, and event workflows.
development
Operate WhatsApp Business Platform Cloud API through UXC with a curated OpenAPI schema, bearer-token auth, and message/profile guardrails.