> ## Documentation Index
> Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Cronos Onchain Data API

> Get token balances and transactions for Cronos.

## Overview

<Tip>
  Cronos is the first Ethereum-compatible blockchain network built on Cosmos SDK technology. An open-source and permission-less Layer 1 chain which runs in parallel to the Crypto.org Chain, Cronos aims to massively scale the DeFi, GameFi, and overall Web3 user community by providing builders with the ability to instantly port apps and crypto assets from other chains while benefiting from low transaction fees, high throughput, and fast finality.
</Tip>

<Info>
  Chain is archived.
</Info>

GoldRush offers the most comprehensive Cronos Data API suite for developers, analysts, and enterprises. Whether you're
building a DeFi dashboard, a wallet, a trading bot, an AI agent or a compliance platform,
our Cronos Data APIs provide fast, accurate, and developer-friendly access to the essential onchain data you need.

### Supported APIs

<Columns cols={2} />

## Mainnet

| Property             | Value                                 |
| -------------------- | ------------------------------------- |
| **Chain Name**       | `cronos-mainnet`                      |
| **Chain ID**         | `25`                                  |
| **Network Type**     | Archived Chain                        |
| **Support Level**    | archived                              |
| **Block Explorer**   | [Explorer](https://cronoscan.com/)    |
| **Official Website** | [Cronos Website](https://cronos.org/) |
| **Native Gas Token** | CRO                                   |

## API Usage

To use this blockchain network in GoldRush API calls, use:

#### Chain Name

* `cronos-mainnet` (mainnet)

#### Example Streaming Subscription

<CodeGroup>
  ```graphql GraphQL Subscription theme={null}
  subscription {
    walletTxs(
      chain_name: CRONOS_MAINNET,
      wallet_addresses: ["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"]
    ) {
      block_signed_at
      block_height
      tx_hash
      tx_offset
      successful
      decoded_type
    }
  }
  ```

  ```typescript TypeScript SDK theme={null}
  import { GoldRushClient, StreamingChain } from "@covalenthq/client-sdk";

  const client = new GoldRushClient("<GOLDRUSH_API_KEY>");

  client.StreamingService.subscribeToWalletTxs(
    {
      chain_name: StreamingChain.CRONOS_MAINNET,
      wallet_addresses: ["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"],
    },
    {
      next: (data) => console.log("Received data:", data),
      error: (error) => console.error("Error:", error),
      complete: () => console.log("Stream completed"),
    }
  );
  ```
</CodeGroup>

<Info>
  Connect via WebSocket at `wss://streaming.goldrushdata.com/graphql` with your API key in the connection parameters.
  See the [Streaming API Quickstart](/goldrush-streaming-api/quickstart) for full setup details.
</Info>

## Additional Resources

* [GoldRush API Documentation](https://goldrush.dev/docs/)
* [Supported Chains List](https://goldrush.dev/chains/)
* [API Reference](https://goldrush.dev/docs/api-reference/)
