Use Bitquery GraphQL through UXC for onchain trades, transfers, token holder analysis, balances, and market structure queries across supported networks, with...
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.
subscription/* only after runtime validation in the current environment.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.
bitquery-graphql-cli query/EVM -hbitquery-graphql-cli query/EVM '{"network":"eth","dataset":"combined","_select":"DEXTrades(limit: {count: 1}) { Transaction { Hash } }"}'_select:
limitorderBywhereThe following authenticated Bitquery flow was verified successfully through uxc:
client_credentialshttps://streaming.bitquery.io/graphqlquery/EVM -hquery/EVM call on baseThe 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 } } } }"
}
--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. Treat subscription/* as advanced and validate runtime behavior before depending on it.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.mdZIP package — ready to use