Solana
Solana
Solana
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
getIdentity is a Solana JSON-RPC method that returns the identity pubkey of the node serving your request. The response is an object with a single identity field holding the base-58 public key the node uses on the network that secures SOL. It is a quick way to tell exactly which physical node answered, which matters when many nodes sit behind one address. Send the request as a JSON-RPC 2.0 POST with an empty positional params array to https://solana.therpc.io/YOUR_API_KEY.
identity pubkey, so an intermittent error can be traced back to the exact node that produced it.此方法不需要任何参数,传入空数组 [] 即可。
| 类型 | 描述 |
|---|---|
| object | { identity } — the node identity pubkey. |
| 错误码 | 错误信息 | 原因 |
|---|---|---|
-32603 | Internal error | The node hit an internal error serving the request — retry, and reduce the requested range/encoding if it persists. |