# Solana Explorer 查不到交易？核对 Cluster、签名和 RPC 结果

整理：链小知（AI 辅助）
资料核对日期：2026-10-12
引用地址：https://lianxiaozhi.com/tools/guides/solana-explorer-check-signature
难度：入门
核验方式：官方文档整理，未执行真实账户操作

用准确签名定位交易；页面查不到时，通过只读 getTransaction 区分网络、确认与版本问题。

## 使用工具
- [Solana Explorer](https://lianxiaozhi.com/tools/solana-explorer) · [官方入口](https://explorer.solana.com/)

## 前置条件
- 准备发送记录中的完整base58交易签名和实际Cluster；不要拿账户地址、mint或交易所订单号替代签名。
- 适用Solana官方Explorer与getTransaction；RPC例子采用配置对象，maxSupportedTransactionVersion:0覆盖legacy/v0，不承诺未来版本。
- Explorer查询及getTransaction不会签名或转账，不产生链上gas；公共RPC有限流，私有服务可能收费。

## 1. 把签名与账户地址分开

从发送记录复制完整交易signature，记录当时使用Mainnet、Devnet还是Testnet。交易签名、账户地址和mint都可能看起来是base58字符串，须以发送方字段含义确认。

打开explorer.solana.com，在对应Cluster查签名；页面不能读取时保留加载问题，不据此认定交易不存在。

核对结果：输入是交易签名，Cluster与发送记录一致。
依据：[Clusters and Public RPC Endpoints](https://solana.com/docs/references/clusters)
依据：[getTransaction](https://solana.com/docs/rpc/http/gettransaction)

## 2. 检查当前页面展示的交易

找到记录后核对完整签名、slot与时间，再看状态和指令。Explorer的协议解释帮助理解合约调用，但总览标题不能替代指令结果。

若只定位到账户或代币页，返回检查输入。Devnet/Testnet资产与主网真实资产独立，切换浏览器Cluster并不会跨链搬运资金。

核对结果：保存交易URL、Cluster、slot和观察时间。
依据：[Solana Explorer README](https://raw.githubusercontent.com/solana-foundation/explorer/master/README.md)
依据：[Clusters and Public RPC Endpoints](https://solana.com/docs/references/clusters)

## 3. 通过只读RPC取得明确结果

界面无法提供信息时，对该Cluster公共RPC发送JSON-RPC读取：method为getTransaction，params为[完整签名,{commitment:'confirmed',encoding:'json',maxSupportedTransactionVersion:0}]。主网入口为https://api.mainnet.solana.com，Devnet为https://api.devnet.solana.com；只调用读取方法。

result为null意味着该节点在请求确认级别下没查到，不等于交易确定失败。先核对Cluster与签名，再记录节点和查询时间。

核对结果：保留result对象、null或明确RPC错误，不能混为一类。
依据：[Clusters and Public RPC Endpoints](https://solana.com/docs/references/clusters)
依据：[getTransaction](https://solana.com/docs/rpc/http/gettransaction)

## 4. 读执行错误和费用

有结果时读取meta.err、meta.fee、logMessages与指令。err非空保存完整错误；err为空再核对目标指令和账户，不用扣gas证明代币已经到指定收款人。

版本错误时先保存version与RPC错误，检查maxSupportedTransactionVersion配置是否适合该交易。本文未覆盖未来新增交易版本，不能盲目把0改成任意数字。

核对结果：记录执行错误、指令与费用字段；资产流向无法解释时保留未知。
依据：[getTransaction](https://solana.com/docs/rpc/http/gettransaction)

## 5. 处理限流与完成记录

HTTP429按Retry-After等待并降低请求频率；403属于访问被阻止，按官方建议使用适合的RPC服务。错误页、超时和空正文均不写成null结果。

最终保留签名、Cluster、节点、确认级别、状态与查询时间；只有读到相同网络的结果，才能解释当前交易定位情况，平台入账仍需另查。

核对结果：形成可重查记录并列出未确认状态，不承诺到账。
依据：[Clusters and Public RPC Endpoints](https://solana.com/docs/references/clusters)
依据：[getTransaction](https://solana.com/docs/rpc/http/gettransaction)

## 常见错误
- confirmed查询成功不是收款平台记账证据。
- null、网络错误和交易执行错误有不同含义。

## 完成检查
- 取得同一Cluster交易结果，或明确无法定位/限流/版本分支。
- 依据官方文档整理，尚未完成真实账户查询或交易行为验收。

## 相关知识

## 官方依据
- [Clusters and Public RPC Endpoints](https://solana.com/docs/references/clusters)
- [getTransaction](https://solana.com/docs/rpc/http/gettransaction)
- [Solana Explorer README](https://raw.githubusercontent.com/solana-foundation/explorer/master/README.md)
