> ## Documentation Index
> Fetch the complete documentation index at: https://injectivelabs-mintlify-fc5a1333.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Injective 常见问题

## 基础知识

**问**：Injective 支持哪些账户地址类型？

**答**：支持 2 种地址类型：

* Bech32 (`inj...`)，主要用于通过 Cosmos 钱包 / 工具进行交互
* Hexadecimal (`0x...`)，主要用于通过 EVM 钱包 / 工具进行交互

**问**：如何将 *hex* 地址转换为 *bech32* 地址？

**答**：可以使用 Injective TS SDK 中的 `getInjectiveAddress` 与 `getEthereumAddress`，
在 `inj1...` 与 `0x...` 之间进行双向转换。
[如何在 Injective 上进行 hex 与 bech32 地址之间的转换](https://docs.injective.network/developers/convert-addresses)。

Injective 地址使用 *bech32* 格式：`inj1...`。
它们与使用 *hex* 格式（`0x...`）的 EVM 地址兼容。
两者共享同一底层公钥，可一对一确定性地相互转换。

***

**问**：有没有办法查找 Injective Cosmos 地址与 Injective EVM 地址之间的映射关系？

**答**：这两种地址类型之间的映射是通过一次一对一的双向数学运算完成的：

* 在线示例：[Injective Testnet Faucet](https://testnet.faucet.injective.network/)
* 文档：[TypeScript (TS) 代码示例](https://docs.injective.network/developers/convert-addresses)

***

## 基础设施

**问**：维护私有节点时：

* 是否需要存储 2.5 TiB 的归档数据（event provider）？
* 可以跳过这部分并让 indexer 正常工作吗？

**答**：Event provider 可以进行修剪。可以使用公共 event provider 端点进行初始同步，然后从最新高度开始切换到本地部署。是的，可以跳过。

**问**：在 Injective 上应该使用哪个区块浏览器？

**答**：需要完整 EVM 兼容性时使用 Blockscout，
需要完整 Cosmos 兼容性时使用 Injscan。

具体来说，如果你需要：

* [EIP-3091](https://eips.ethereum.org/EIPS/eip-3091) 兼容的体验，或

* 在 dApp 中使用 `wallet_addEthereumChain`（或类似方法），
  … 请使用 Blockscout。
  其他情况下 Blockscout 或 Injscan 都可以。

* [Injective 主网 Blockscout](https://blockscout.injective.network/)

* [Injective 测试网 Blockscout](https://testnet.blockscout.injective.network/)

* [Injective 主网 Injscan](https://injscan.com/)

* [Injective 测试网 Injscan](https://testnet.explorer.injective.network/)

***

## EVM

**问**：Injective 是否部署了 [`multicall3`](https://www.multicall3.com/) 智能合约？&#x20;

**答**：是的，部署在以下地址：

* Injective 主网 `multicall3`：[`0xcA11bde05977b3631167028862bE2a173976CA11`](https://blockscout.injective.network/address/0xcA11bde05977b3631167028862bE2a173976CA11?tab=contract)
* Injective 测试网 `multicall3`：[`0xcA11bde05977b3631167028862bE2a173976CA11`](https://testnet.blockscout.injective.network/address/0xcA11bde05977b3631167028862bE2a173976CA11?tab=contract)

***

## Injective 原生模块

**问**：对于 exchange 模块上的交易，
为什么有些事件日志会显示在交易上，而另一些却不会？

**答**：要查看所有事件日志，你必须*同时*检查交易本身
以及按 subaccount 过滤的所有 exchange 事件。
这是因为当 Injective 在 exchange 模块上执行一笔交易
（例如 `MsgBatchUpdateOrders`）时，该交易可能在下述两种上下文之一中完成结算：

* 在直接的交易上下文中，
  此时事件日志会在*交易*层面发出。
* 或在 frequent batch auction (FBA) 上下文中，
  此时事件日志会在*区块*层面发出。

要了解 Injective exchange 模块中 FBA 的更多信息：

* 术语表：[Frequent Batch Auction](https://docs.injective.network/glossary#frequent-batch-auction-fba)
* Injective 原生模块 → Exchange → `EndBlocker`：[Order Matching: Frequent Batch Auction](https://docs.injective.network/developers-native/injective/exchange/08_end_block#order-matching-frequent-batch-auction-fba)
