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

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# API Başvurusu

> LiteSVM için eksiksiz TypeScript API başvurusu

LiteSVM'i `@solana/kit` ve eklenti
ekosistemiyle birlikte kullanmaya yönelik eksiksiz API belgeleri.

## API Bölümleri

<Columns cols={2}>
  <Card title="Hesap Yönetimi" href="/developers/docs/tools/litesvm/typescript/api-reference/account-management">
    setAccount, getAccount, airdrop, getBalance
  </Card>
  <Card title="İşlemler" href="/developers/docs/tools/litesvm/typescript/api-reference/transactions">
    sendTransaction, simulateTransaction, blockhash yönetimi
  </Card>
  <Card title="Yapılandırma" href="/developers/docs/tools/litesvm/typescript/api-reference/configuration">
    LiteSVM'i yapılandırmaya yönelik builder metotları
  </Card>
  <Card title="Zaman ve Sysvar'lar" href="/developers/docs/tools/litesvm/typescript/api-reference/time-and-sysvars">
    Clock manipülasyonu ve sysvar erişimi
  </Card>
</Columns>

## Hızlı Başvuru

### Eklenti Kurulumu

```typescript
import { createClient, generateKeyPairSigner } from "@solana/kit";
import { litesvm } from "@solana/kit-plugin-litesvm";
import { signer } from "@solana/kit-plugin-signer";

const mySigner = await generateKeyPairSigner();
const client = createClient().use(signer(mySigner)).use(litesvm());
// client.svm: LiteSVM instance
// client.rpc: RPC compatibility layer
```

### Hesap Yönetimi (client.svm)

| Metot                                 | Açıklama                   |
| -------------------------------------- | ----------------------------- |
| `setAccount(account)`                  | Hesap durumunu doğrudan ayarlar    |
| `getAccount(address)`                  | Hesap verilerini getirir         |
| `getBalance(address)`                  | SOL bakiyesini getirir               |
| `airdrop(address, lamports)`           | Bir hesaba fon yükler               |
| `minimumBalanceForRentExemption(size)` | rent muafiyeti için gereken minimum bakiyeyi hesaplar |

### Program Yönetimi (client.svm)

| Metot                                | Açıklama                |
| ------------------------------------- | -------------------------- |
| `addProgram(programId, bytes)`        | Programı bayt dizisinden yükler    |
| `addProgramFromFile(programId, path)` | Programı .so dosyasından yükler |

### İşlemler (client.svm)

| Metot                    | Açıklama                    |
| ------------------------- | ------------------------------ |
| `sendTransaction(tx)`     | Bir işlemi yürütür          |
| `simulateTransaction(tx)` | Durum değişikliği yapmadan simüle eder |
| `latestBlockhash()`       | Geçerli blockhash'i getirir          |
| `expireBlockhash()`       | Yeni bir blockhash'e geçer       |

### Yapılandırma (client.svm)

| Metot                      | Açıklama                           |
| --------------------------- | ------------------------------------- |
| `withSigverify(bool)`       | İmza doğrulamasını etkinleştirir/devre dışı bırakır |
| `withBlockhashCheck(bool)`  | Blockhash doğrulamasını etkinleştirir/devre dışı bırakır   |
| `withSysvars()`             | Sysvar'ları varsayılan değerlerine sıfırlar       |
| `withBuiltins()`            | Yerleşik programları etkinleştirir              |
| `withPrecompiles()`         | Önceden derlenmiş programları etkinleştirir           |
| `withTransactionHistory(n)` | Son n işlemi saklar             |
| `withComputeBudget(budget)` | Hesaplama limitlerini belirler                    |
| `withLamports(amount)`      | Airdrop faucet bakiyesini belirler        |
| `withLogBytesLimit(n)`      | Log çıktı limitini belirler                  |

### Zaman ve Sysvar'lar (client.svm)

| Metot                     | Açıklama           |
| -------------------------- | --------------------- |
| `warpToSlot(slot)`         | Belirli bir slot'a atlar |
| `getClock()`               | Clock sysvar'ını getirir      |
| `getRent()`                | rent sysvar'ını getirir       |
| `getEpochSchedule()`       | epoch takvimini getirir    |
| `getLastRestartSlot()`     | Son yeniden başlatma slot'unu getirir |
| `setLastRestartSlot(slot)` | Son yeniden başlatma slot'unu belirler |

### RPC (client.rpc)

| Metot                           | Açıklama                        |
| -------------------------------- | ---------------------------------- |
| `getAccountInfo(address)`        | Tek bir hesabı getirir (yalnızca base64) |
| `getMultipleAccounts(addresses)` | Birden fazla hesabı getirir            |
| `getLatestBlockhash()`           | Geçerli blockhash'i getirir              |
