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

# TypeScript SDK API 레퍼런스

> "Helius TypeScript SDK의 모든 API 메서드 전체 목록을 네임스페이스별로 정리했습니다: DAS API, RPC V2, 트랜잭션, 향상된 트랜잭션, 웹훅, 웹소켓, 스테이킹, 지갑 API, ZK 압축, 표준 Solana RPC."

[Helius TypeScript SDK](https://github.com/helius-labs/helius-sdk)의 전체 메서드 레퍼런스입니다. 설치 및 시작하기에 대해서는 [TypeScript SDK 개요](/docs/ko/agents/typescript-sdk)를 참조하세요.

## 표준 Solana RPC

모든 표준 Solana RPC 메서드는 기본 `helius.*` Rpc 클라이언트에 대한 프록시를 통해 직접 사용할 수 있습니다:

```typescript theme={"system"}
const balance = await helius.getBalance(address).send();
const blockhash = await helius.getLatestBlockhash().send();
const slot = await helius.getSlot().send();
```

`helius.raw` 속성은 동일한 `Rpc` 클라이언트를 명시적으로 노출하며, 표준 `Rpc` 객체를 기대하는 타사 라이브러리에 전달할 때 유용합니다.

## DAS API (디지털 자산 표준)

통합 인터페이스로 NFT, 압축된 NFT, 대체 가능 토큰 및 기타 디지털 자산을 쿼리합니다.

```typescript theme={"system"}
helius.getAsset({ id })                                    // Single asset by mint
helius.getAssetBatch({ ids })                              // Multiple assets
helius.getAssetsByOwner({ ownerAddress, page, limit })     // Assets by wallet
helius.getAssetsByAuthority({ authorityAddress })           // Assets by update authority
helius.getAssetsByCreator({ creatorAddress })               // Assets by creator
helius.getAssetsByGroup({ groupKey, groupValue })           // Assets by collection
helius.searchAssets({ ownerAddress, tokenType, ... })       // Flexible search
helius.getAssetProof({ id })                               // Merkle proof (cNFTs)
helius.getAssetProofBatch({ ids })                         // Batch Merkle proofs
helius.getTokenAccounts({ owner })                         // Token accounts
helius.getNftEditions({ id })                              // Print editions
helius.getSignaturesForAsset({ id })                       // Transaction history for asset
```

## RPC V2 메서드

서버 측 페이지네이션, 필터링 및 토큰 계정 지원이 강화된 RPC 메서드입니다.

```typescript theme={"system"}
helius.getTransactionsForAddress([address, config])        // Transaction history (paginationToken)
helius.getProgramAccountsV2([programId, config])           // Program accounts (paginationKey)
helius.getTokenAccountsByOwnerV2([owner, filter?, config]) // Token accounts (paginationKey)
helius.getPriorityFeeEstimate({ accountKeys, options })    // Fee estimates
```

## 트랜잭션

자동 계산 단위 추정과 우선 수수료로 최적화된 트랜잭션을 빌드하고 전송합니다.

```typescript theme={"system"}
helius.tx.sendSmartTransaction({ instructions, signers })  // Auto-optimized send
helius.tx.createSmartTransaction({ instructions, signers })// Build without sending
helius.tx.sendTransactionWithSender({ ..., region })       // Helius Sender (low latency)
```

## 향상된 트랜잭션

원시 트랜잭션을 사람 읽을 수 있는 레이블 형식으로 구문 분석합니다.

```typescript theme={"system"}
helius.enhanced.getTransactions({ transactions })          // Parse by signatures
helius.enhanced.getTransactionsByAddress({ address })      // Parse by address
```

## 웹훅

온체인 이벤트에 대한 실시간 HTTP POST 알림을 생성하고 관리합니다.

```typescript theme={"system"}
helius.webhooks.create({ webhookURL, transactionTypes, accountAddresses })
helius.webhooks.get(webhookID)
helius.webhooks.getAll()
helius.webhooks.update(webhookID, params)
helius.webhooks.delete(webhookID)
```

## 웹소켓

WebSocket 연결을 통해 실시간 블록체인 데이터를 스트리밍합니다.

```typescript theme={"system"}
helius.ws.logsNotifications(filter, config)                // Transaction logs
helius.ws.accountNotifications(address, config)            // Account changes
helius.ws.signatureNotifications(signature, config)        // Tx confirmation
helius.ws.slotNotifications(config)                        // Slot updates
helius.ws.programNotifications(programId, config)          // Program account changes
helius.ws.close()                                          // Clean up connections
```

## 스테이킹

Helius 검증자에 SOL을 스테이킹하고 스테이크 계정을 관리합니다.

```typescript theme={"system"}
helius.stake.createStakeTransaction(owner, amountSol)                          // Stake SOL
helius.stake.createUnstakeTransaction(ownerSigner, stakeAccount)               // Unstake
helius.stake.createWithdrawTransaction(withdrawAuth, stakeAcct, dest, lamports)// Withdraw
helius.stake.getHeliusStakeAccounts(wallet)                // List stake accounts
```

## 지갑 API

REST 엔드포인트를 통해 지갑 잔액, 트랜잭션 기록, 전송 및 신원 정보를 쿼리합니다.

CODE\_PLACEHOLDER\_e001560aa360ac8\_END

## ZK 압축

98% 저렴한 온체인 스토리지를 위해 압축된 계정 및 토큰을 다룹니다.

```typescript theme={"system"}
helius.zk.getCompressedAccount({ address })                // Single compressed account
helius.zk.getCompressedAccountsByOwner({ owner })          // By owner
helius.zk.getCompressedTokenAccountsByOwner({ owner })     // Compressed tokens
helius.zk.getCompressedAccountProof({ hash })              // Merkle proof
helius.zk.getCompressedBalance({ address })                // Balance
helius.zk.getValidityProof({ hashes })                     // Validity proof
```
