openapi: 3.1.0 info: title: GoldRush Foundational ABI GraphQL API description: 'Structured historical blockchain data across 100+ chains via REST. Resource families include Balances (native, ERC20, ERC721, ERC1155, historical portfolios, token holders), Transactions (v3 paginated, time-bucketed, by-block), NFTs, Base service (blocks, logs, gas prices, address resolution), Cross-Chain Activity, Pricing, and Security (token approvals). ' version: v1 contact: name: GoldRush Support url: https://goldrush.dev/support/ license: name: Covalent Terms of Service url: https://www.covalenthq.com/terms-of-service/ servers: - url: https://api.covalenthq.com description: GoldRush production server security: - BearerAuth: [] tags: - name: GraphQL description: Single GraphQL endpoint serving queries and subscriptions. paths: /graphql: post: summary: Execute Streaming GraphQL Operation description: 'Executes a GraphQL `query` or `subscription` operation. Supported queries: `ohlcvPairs`, `ohlcvTokens`, `tokenSearch`, `topTraderWalletsForToken`, `walletPnlByToken`. Supported subscriptions (upgrade to WebSocket on the same path): `newDexPairs`, `ohlcvPairs`, `ohlcvTokens`, `updatePairs`, `updateTokens`, `walletActivity`. ' operationId: executeStreamingGraphQLOperation tags: - GraphQL requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GraphQLRequest' examples: OhlcvPairs: summary: OHLCV Pairs Query value: query: "query($pair: String!) {\n ohlcvPairs(pair: $pair, resolution: \"1h\") {\n timestamp open high low close volume\n }\n}\n" variables: pair: 0x... TokenSearch: summary: Token Search Query value: query: 'query($q: String!) { tokenSearch(query: $q) { address symbol chainName } } ' variables: q: USDC responses: '200': description: GraphQL response envelope content: application/json: schema: $ref: '#/components/schemas/GraphQLResponse' '401': $ref: '#/components/responses/Unauthorized' '429': $ref: '#/components/responses/RateLimited' components: responses: Unauthorized: description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/GraphQLResponse' RateLimited: description: Too Many Requests content: application/json: schema: $ref: '#/components/schemas/GraphQLResponse' schemas: GraphQLResponse: type: object properties: data: type: object additionalProperties: true nullable: true errors: type: array items: type: object properties: message: type: string path: type: array items: type: string extensions: type: object additionalProperties: true GraphQLRequest: type: object required: - query properties: query: type: string description: GraphQL operation document. variables: type: object additionalProperties: true operationName: type: string nullable: true securitySchemes: BearerAuth: type: http scheme: bearer description: 'GoldRush API key, sent as `Authorization: Bearer `.'