> ## 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.

# Tempo Onchain Data API

> Get token balances and transactions for Tempo.

## Overview

<Tip>
  Tempo is a general-purpose blockchain optimized for payments.
</Tip>

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

### Supported APIs

<Columns cols={2}>
  <Card title="JSON-RPC" icon="server" href="/docs/goldrush-json-rpc/overview" cta="Read docs">
    Low-latency EVM JSON-RPC with global failover and archive depth.
    Point your existing tooling at the GoldRush endpoint — no code changes required.<br /><br />
    <b>Use cases: dApps, wallets, indexers, bots, and trading infrastructure.</b>
  </Card>
</Columns>

## Mainnet

| Property             | Value                                        |
| -------------------- | -------------------------------------------- |
| **Chain Name**       | `tempo-mainnet`                              |
| **Chain ID**         | `4217`                                       |
| **Network Type**     | Frontier Chain                               |
| **Support Level**    | frontier                                     |
| **Block Explorer**   | [Tempo Explorer](https://explore.tempo.xyz/) |
| **Official Website** | [Tempo Website](https://tempo.xyz/)          |
| **Native Gas Token** | Multiple Stablecoins                         |

## API Usage

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

#### Chain Name

* `tempo-mainnet` (mainnet)

## JSON-RPC

Tempo is available on the GoldRush JSON-RPC service. Point your existing EVM tooling (ethers.js, viem, web3.js, or raw HTTP) at the GoldRush endpoint — the standard `eth_*`, `net_*`, `web3_*`, `debug_*`, and `trace_*` methods are supported.

#### Endpoint

```
https://rpc.goldrushdata.com/v1/tempo-mainnet
```

#### Example JSON-RPC Calls

<CodeGroup>
  ```bash eth_blockNumber theme={null}
  curl https://rpc.goldrushdata.com/v1/tempo-mainnet \
    -H "Authorization: Bearer <GOLDRUSH_API_KEY>" \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'
  ```

  ```bash eth_getBalance theme={null}
  curl https://rpc.goldrushdata.com/v1/tempo-mainnet \
    -H "Authorization: Bearer <GOLDRUSH_API_KEY>" \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","id":1,"method":"eth_getBalance","params":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","latest"]}'
  ```
</CodeGroup>

#### Sample Methods

* **[eth\_blockNumber on Tempo](/docs/api-reference/json-rpc/tempo/eth-blocknumber)**
* **[eth\_getBalance on Tempo](/docs/api-reference/json-rpc/tempo/eth-getbalance)**
* **[eth\_call on Tempo](/docs/api-reference/json-rpc/tempo/eth-call)**
* **[eth\_getLogs on Tempo](/docs/api-reference/json-rpc/tempo/eth-getlogs)**
* **[eth\_getTransactionReceipt on Tempo](/docs/api-reference/json-rpc/tempo/eth-gettransactionreceipt)**

See the [full method list and per-method examples for Tempo](/docs/api-reference/json-rpc/chains/tempo).

## Additional Resources

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