Quick setup
Every example below needs only your Helius API key from dashboard.helius.dev. ReplaceYOUR_API_KEY, then pick the path that matches what you’re fetching:
| You want | Use this | Returns |
|---|---|---|
| An address’s full transaction history | getTransactionsForAddress | Decoded transactions for one address |
| An address’s full transfers history | getTransfersByAddress | Token and native SOL transfers for one address |
| Tokens, NFTs, and assets owned by a wallet | DAS API — getAssetsByOwner | Assets with metadata, ownership, and balances |
| Wallet balances with USD values over REST | Wallet API — /balances | Token and NFT balances with USD pricing |
Option 1: Backfill transaction history (getTransactionsForAddress)
getTransactionsForAddress returns the full, decoded transaction history for an address in a single method — the fastest way to backfill data for indexing. Pass the address first, then an options object with optional filters.
getTransactionsForAddress guide
Filters, pagination, response format, and best practices.
Indexing guide
Build, backfill, and keep a Solana index up to date.
Option 2: Get transfer history (getTransfersByAddress)
getTransfersByAddress returns parsed token and native SOL transfer history for an address — at the transfer level rather than the transaction level, ready for reconciliation. Pass the address; add an options object for filters.
getTransfersByAddress guide
Transfer types, filters, reconciliation, and response format.
getTransfersByAddress reference
Full parameters and response schema.
Option 3: Get a wallet’s assets (DAS API)
The DAS API returns the NFTs, fungible tokens, and compressed assets a wallet owns in a single call — the most common starting point for wallets, portfolio views, and analytics.DAS API overview
All asset methods, special asset types, and best practices.
getAssetsByOwner reference
Full parameters and response schema.
Option 4: Get wallet balances over REST (Wallet API)
The Wallet API is a high-level REST API. The balances endpoint returns a wallet’s token and NFT holdings with USD values — no JSON-RPC envelope required.Wallet API overview
All wallet endpoints, authentication, and units.
Wallet Balances reference
Query parameters and full response schema.
Next steps
Getting Data overview
Compare every data API and choose the right one for your use case.
API Reference
Complete method and endpoint documentation.