> ## 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.

# Tham khảo nhanh

> Bảng tham khảo nhanh và hướng dẫn bắt đầu

## Tham khảo nhanh

| Phương thức                                         | Mô tả                                                                                |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------ |
| `LiteSVM::new()`                               | Tạo môi trường kiểm thử LiteSVM cơ bản mới                                                  |
| `LiteSVM::default()`                           | Tạo một instance trống không có sysvar, chương trình hoặc tài khoản airdrop. Hãy dùng `LiteSVM::new()` |
| `airdrop(&Address, lamports)`                  | Cấp vốn cho tài khoản với số lamport được chỉ định                                              |
| `get_account(&Address)`                        | Trả về toàn bộ thông tin liên kết với tài khoản của địa chỉ được cung cấp                |
| `set_account(Address, Account)`                | Thiết lập toàn bộ thông tin liên kết với tài khoản của địa chỉ được cung cấp                   |
| `get_balance(&Address)`                        | Lấy số dư lamport của địa chỉ tài khoản được cung cấp                                   |
| `minimum_balance_for_rent_exemption(data_len)` | Trả về số dư tối thiểu cần thiết để một tài khoản có độ dài dữ liệu được chỉ định được miễn rent |
| `add_program(program_id, &bytes)`              | Thêm một chương trình SBF vào môi trường kiểm thử                                                |
| `add_program_from_file(program_id, path)`      | Thêm một chương trình SBF vào môi trường kiểm thử từ tệp được chỉ định                        |
| `send_transaction(tx)`                         | Gửi một giao dịch đã ký                                                               |
| `simulate_transaction(tx)`                     | Mô phỏng một giao dịch mà không thay đổi trạng thái                                            |
| `get_transaction(&signature)`                  | Lấy một giao dịch từ lịch sử                                                            |
| `latest_blockhash()`                           | Lấy blockhash hiện tại                                                                     |
| `expire_blockhash()`                           | Buộc blockhash hiện tại hết hạn                                        |
| `warp_to_slot(slot)`                           | Chuyển đồng hồ đến slot được chỉ định                                                      |
| `get_sysvar<T>()`                              | Lấy một sysvar từ môi trường kiểm thử                                                    |
| `set_sysvar<T>(&value)`                        | Thiết lập sysvar cho môi trường kiểm thử                                                    |
| `with_feature_accounts()`                      | Bao gồm các tài khoản feature gate trong môi trường kiểm thử                                     |
| `set_invocation_inspect_callback(callback)`    | Đăng ký callback trước/sau khi gọi (yêu cầu tính năng `invocation-inspect-callback`)  |
