GraphQL API
Type-safe blockchain queries with full introspection support.
Endpoint
POST https://api.chainvue.io/graphql
Authentication
Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Available Queries
NETWORKS
networksList all available networks
[Network]networkGet a specific network by chainId
NetworkBLOCKS
blocksList blocks with pagination
BlockConnectionblockGet block by height or hash
BlockIDENTITIES
identitiesSearch identities
IdentityConnectionidentityGet identity by name or address
IdentityidentityHistoryGet revision history
[IdentityVersion]CURRENCIES
currenciesList all currencies
CurrencyConnectioncurrencyGet currency by name or ID
CurrencycurrencyStateGet current state/price
CurrencyStateADDRESSES
addressGet address details
AddressaddressBalancesGet all balances for address
AddressBalanceConnectionaddressUtxosGet UTXOs for address
UTXOConnectionaddressTransactionsGet transaction history
AddressTransactionConnectionrichListGet top holders
RichListConnectionExample Query
query GetRecentBlocks {
blocks(
chainId: "iJhCezBExJHvtyH3fGhNnt2NhU4Ztkf2yq"
limit: 10
) {
blocks {
height
hash
timestamp
txCount
}
hasMore
}
}Pagination
List queries support cursor-based pagination:
- •
limit- Number of items to return (default: 50, max: 100) - •
cursor- Cursor for next page - •
hasMore- Whether more results exist - •
nextCursor- Cursor for the next page