> ## Documentation Index
> Fetch the complete documentation index at: https://seilabs-docs-evm-cookbook.mintlify.site/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 has a suite of Sei Data APIs for developers, analysts, and enterprises. The APIs give fast, accurate access to the onchain data that you need. You can use them to build a DeFi dashboard, a wallet, a trading bot, an AI agent, or a compliance platform.

### Supported APIs

| **Product Name** | **Description** | **Key Data Feeds** | **Use Cases** |
| - | - | - | - |
| **Foundational API** | Access structured historical blockchain data on 100+ chains through 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 Sei in GoldRush API calls, use this chain name:

#### Chain name

* `sei-mainnet` (Sei Mainnet)

#### Example API calls (bash)

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

### SDK usage (TypeScript)

```ts theme={null}
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

Sei 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): the GoldRush knowledge base, 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 different use cases
* [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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.