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

# GoldRush API Integration

> Learn how to integrate GoldRush indexing services with Sei network for blockchain data analysis and application development.

## Overview

GoldRush offers the most comprehensive Sei 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 Sei Data APIs provide fast, accurate, and developer-friendly access to the essential onchain data you need.

### Supported APIs

| **Product Name**     | **Description**                                                               | **Key Data Feeds**                                                                                                                                                                                 | **Use Cases**                                                                                                                             |
| -------------------- | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **Foundational API** | Access structured historical blockchain data across 100+ chains via REST APIs | <ul><li>Token balances (spot & historical)</li><li>Token transfers</li><li>Token holders (spot & historical)</li><li>Token prices (onchain)</li><li>Wallet transactions</li><li>Get logs</li></ul> | <ul><li>Wallets</li><li>Portfolio trackers</li><li>Crypto accounting & tax tools</li><li>DeFi dashboards</li><li>Activity feeds</li></ul> |

## Mainnet

| **Property**         | **Value**                          |
| -------------------- | ---------------------------------- |
| **Chain Name**       | `sei-mainnet`                      |
| **Chain ID**         | `1329`                             |
| **Network Type**     | Frontier Chain                     |
| **Support Level**    | frontier                           |
| **Block Explorer**   | [Explorer](https://seistream.app/) |
| **Official Website** | [Sei Website](https://www.sei.io/) |
| **Native Gas Token** | SEI                                |

## API Usage

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

#### Chain Name

* `sei-mainnet` (mainnet)

#### Example API Calls (bash)

```bash theme={"dark"}
curl -X GET "https://api.covalenthq.com/v1/sei-mainnet/address/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045/balances_v2/?key=API_KEY"
```

### SDK Usage (TypeScript)

```ts theme={"dark"}
import { GoldRushClient } from '@covalenthq/client-sdk';

const client = new GoldRushClient('API_KEY');

const resp = await client.BalanceService.getTokenBalancesForWalletAddress({
  chainName: 'sei-mainnet',
  walletAddress: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045'
});
```

## Foundational API Support

This chain supports **34** GoldRush Foundational APIs:

#### Wallet API

* **[Get token balances for address](https://goldrush.dev/docs/api-reference/foundational-api/balances/get-token-balances-for-address)**
* **[Get native token balance for address](https://goldrush.dev/docs/api-reference/foundational-api/balances/get-native-token-balance)**
* **[Get historical portfolio value over time](https://goldrush.dev/docs/api-reference/foundational-api/balances/get-historical-portfolio-value-over-time)**
* **[Get ERC20 token transfers for address](https://goldrush.dev/docs/api-reference/foundational-api/balances/get-erc20-token-transfers-for-address)**

#### Pricing API

* **[Get historical token prices](https://goldrush.dev/docs/api-reference/foundational-api/utility/get-historical-token-prices)**

#### Security API

* **[Get token approvals for address](https://goldrush.dev/docs/api-reference/foundational-api/security/get-token-approvals-for-address)**

#### Activity Feed API

* **[Get a transaction](https://goldrush.dev/docs/api-reference/foundational-api/transactions/get-a-transaction)**
* **[Get transaction summary for address](https://goldrush.dev/docs/api-reference/foundational-api/transactions/get-transaction-summary-for-address)**
* **[Get earliest transactions for address (v3) ](https://goldrush.dev/docs/api-reference/foundational-api/transactions/get-earliest-transactions-for-address-v3)**
* **[Get recent transactions for address (v3)](https://goldrush.dev/docs/api-reference/foundational-api/transactions/get-recent-transactions-for-address-v3)**
* **[Get paginated transactions for address (v3)](https://goldrush.dev/docs/api-reference/foundational-api/transactions/get-paginated-transactions-for-address-v3)**
* **[Get bulk time bucket transactions for address (v3)](https://goldrush.dev/docs/api-reference/foundational-api/transactions/get-time-bucket-transactions-for-address-v3)**
* **[Get all transactions in a block (v3)](https://goldrush.dev/docs/api-reference/foundational-api/transactions/get-all-transactions-in-a-block)**
* **[Get all transactions in a block by page (v3) ](https://goldrush.dev/docs/api-reference/foundational-api/transactions/get-all-transactions-in-a-block-by-page)**

#### Block Explorer API

* **[Get a block](https://goldrush.dev/docs/api-reference/foundational-api/utility/get-a-block)**
* **[Get all chain statuses](https://goldrush.dev/docs/api-reference/foundational-api/utility/get-all-chain-statuses)**
* **[Get all chains](https://goldrush.dev/docs/api-reference/foundational-api/utility/get-all-chains)**
* **[Get block heights](https://goldrush.dev/docs/api-reference/foundational-api/utility/get-block-heights)**
* **[Get gas prices](https://goldrush.dev/docs/api-reference/foundational-api/utility/get-gas-prices)**
* **[Get log events by contract address](https://goldrush.dev/docs/api-reference/foundational-api/utility/get-log-events-by-contract-address)**
* **[Get log events by topic hash(es)](https://goldrush.dev/docs/api-reference/foundational-api/utility/get-log-events-by-topic-hash)**
* **[Get logs](https://goldrush.dev/docs/api-reference/foundational-api/utility/get-logs)**

## Additional Resources

* [Goldrush Docs](https://goldrush.dev/docs/?utm_source=sei\&utm_medium=partner-docs) -
  comprehensive knowledge base for all things GoldRush including a quickstart
* [Sei Network Details](https://goldrush.dev/chains/sei/?utm_source=sei\&utm_medium=partner-docs) -
  setup details and supported APIs for Sei
* [Guides](https://goldrush.dev/guides/?utm_source=sei\&utm_medium=partner-docs) -
  learn how to build for various use cases and expand your onchain knowledge
* [API Reference](https://goldrush.dev/docs/api-reference/)
* [API Key](https://goldrush.dev/platform/auth/register/?utm_source=sei\&utm_medium=partner-docs) -
  sign up for free
