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

# Helius / DAS compatibility

> Helius-style API keys and Digital Asset Standard (DAS) JSON-RPC on the Raze gateway

## Overview

The Raze regional gateway supports a **subset** of [Helius](https://www.helius.dev/docs) APIs. Use it as a drop-in for:

* **RPC URL** — `https://rpc.raze.bot/` (recommended for web3.js and browsers)
* **DAS JSON-RPC** — `getAsset`, `getAssetsByOwner`, and related methods on the same endpoint

<Warning>
  This is **not** a full Helius replacement. Enhanced transactions, webhooks, LaserStream, `getPriorityFeeEstimate`, and compressed-NFT proofs are **not** implemented on the gateway.
</Warning>

***

## Authentication

### Header (preferred)

```bash theme={null}
-H "X-Api-Key: sk_your_key"
# or
-H "Authorization: Bearer sk_your_key"
```

### Query string (Helius-style)

Also supported on `/solana` (promoted at the edge before the request hits the gateway):

| Query param | Example           |
| ----------- | ----------------- |
| `apikey`    | `?apikey=sk_...`  |
| `api-key`   | `?api-key=sk_...` |
| `api_key`   | `?api_key=sk_...` |

An explicit `X-Api-Key` or `Authorization` header **always wins** over the query string.

```bash theme={null}
curl -s "https://rpc.raze.bot/?apikey=sk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"getBalance","params":["11111111111111111111111111111112"]}'
```

***

## Endpoint

| Client                | URL                                             |
| --------------------- | ----------------------------------------------- |
| web3.js / browser RPC | `https://rpc.raze.bot/`                         |
| Direct / SDK          | `https://rpc.raze.bot/` (same JSON-RPC handler) |

Regions: `ca`, `de`, `fr`, `jp`, `nl`, `ny`, `sg`, `uk` — see [Protocols](/api-reference/solana-rpc/protocols#servers).

All DAS calls use **JSON-RPC 2.0** `POST` with `Content-Type: application/json`.

***

## DAS methods

Handled locally by the gateway (backed by [History API](/api-reference/history/tokens/metadata) token endpoints, reshaped to Helius DAS JSON). They do **not** proxy to Helius.

| Method                                                                         | Status        | Notes                                     |
| ------------------------------------------------------------------------------ | ------------- | ----------------------------------------- |
| [getAsset](/api-reference/solana-rpc/methods/getAsset)                         | Supported     | Token metadata by mint                    |
| [getAssetsByOwner](/api-reference/solana-rpc/methods/getAssetsByOwner)         | Supported     | Wallet token balances                     |
| [getAssetsByCreator](/api-reference/solana-rpc/methods/getAssetsByCreator)     | Supported     | Search by creator                         |
| [getAssetsByAuthority](/api-reference/solana-rpc/methods/getAssetsByAuthority) | Supported     | Search by update authority                |
| [getAssetsByGroup](/api-reference/solana-rpc/methods/getAssetsByGroup)         | Partial       | `groupKey=collection` only (approximated) |
| [searchAssets](/api-reference/solana-rpc/methods/searchAssets)                 | Partial       | Subset of filters (see below)             |
| [getAssetSignatures](/api-reference/solana-rpc/methods/getAssetSignatures)     | Supported     | Signatures for asset id                   |
| `getAssetProof`                                                                | Not supported | Requires Bubblegum indexer                |
| `getAssetProofs`                                                               | Not supported | Same                                      |

### `searchAssets` filters (v1)

At least one of:

* `creatorAddress`
* `authorityAddress`
* `name`, `symbol`, `searchTerm`, or `query` (text search)

### `getAssetsByGroup`

* `groupKey: "collection"` + `groupValue` — best-effort via authority search
* Other `groupKey` values — empty result page (valid DAS shape)

***

## Example: `getAsset`

```bash theme={null}
curl -s "https://rpc.raze.bot/" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: sk_your_key" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getAsset",
    "params": { "id": "So11111111111111111111111111111111111111112" }
  }'
```

***

## Migration from Helius

| Helius                    | Raze                                                                                  |
| ------------------------- | ------------------------------------------------------------------------------------- |
| `mainnet.helius-rpc.com`  | `https://rpc.raze.bot/`                                                               |
| `api.helius.xyz` DAS      | Same host — DAS methods above                                                         |
| Wallet / portfolio tokens | [History wallets tokens](/api-reference/history/wallets/tokens) or `getAssetsByOwner` |
| PnL                       | [History wallet PnL](/api-reference/history/wallets/pnl)                              |

Standard Solana RPC methods (`getBalance`, `getTransaction`, etc.) continue to work via the gateway proxy — see [JSON-RPC Methods](/api-reference/solana-rpc/json-rpc-methods).

***

## See also

* [JSON-RPC Methods](/api-reference/solana-rpc/json-rpc-methods)
* [sendTransaction](/api-reference/solana-rpc/send-transaction)
* [History — token metadata](/api-reference/history/tokens/metadata)
