---
title: "Helius"
description: "Enhanced transactions and DAS token holdings on Solana. No balance endpoint, and it says so instead of faking one. Needs HELIUS_API_KEY."
canonical_url: "https://explorers.agntn.dev/providers/helius"
---
# Helius

> Enhanced transactions and DAS token holdings on Solana. No balance endpoint, and it says so instead of faking one. Needs HELIUS_API_KEY.

<provider-facts provider="helius">



</provider-facts>

## Address it

```ts
const helius = await create("helius"); // HELIUS_API_KEY required
await helius.getTokenBalances("…", "solana", { nonZeroOnly: true });
```

## What it reads

Enhanced Transactions v0 for history and one transaction, and DAS `searchAssets` over JSON-RPC on the RPC root for token holdings.

## Gotchas

- There's no REST balance endpoint, so `getBalance` throws `UnsupportedOperationError` and `capabilities.balances` is false. The registry knows, and a balance read on Solana never lands here.
- The key travels as the `api-key` query parameter. `sanitizeUrl` redacts it from every error message and URL, and Helius is the reason that redaction exists.
- DAS answers over JSON-RPC, so a failure arrives as `error` inside a 200 response and the provider reads it there. Pages hold a thousand assets and the walk stops after twenty pages.
- On Solana, `blockNumber` is a slot. So `startBlock` and `endBlock` go out as inclusive `gte-slot` and `lte-slot` filters. Negative or fractional slots and inverted ranges throw `ExplorerError` before any request, which beats a round trip to a 400. Unlike Mempool and Blockstream, Helius filters on its side, with the slot filters it had all along.

## Where it lives

`src/providers/helius.ts`.


## Sitemap

See the full [sitemap](https://explorers.agntn.dev/sitemap.md) for all pages.
