Avalanche
Avalanche
Avalanche
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
web3_clientVersion returns a free-form string identifying the client software and version running behind an Avalanche C-Chain endpoint. The C-Chain's EVM is powered by coreth, a Geth-derived client embedded in AvalancheGo, so the string typically reflects that lineage and its build details. It is a quick way to learn what software is answering your calls on the chain where AVAX pays for gas under Snowman/Avalanche consensus. Send the request to https://avalanche.therpc.io/YOUR_API_KEY (chain ID 43114, 0xa86a).
txpool or debug namespaces in coreth — can be relied on.此方法不需要任何参数,传入空数组 [] 即可。
| 类型 | 描述 |
|---|---|
| string | Free-form version string, e.g. `"Geth/v1.12.0-stable-e501b3b0/linux-amd64/go1.20.2"`. Format varies by client implementation. |
Try it live in the Avalanche playground.
https://avalanche.therpc.io/YOUR_API_KEY may return a custom or redacted string rather than the exact upstream coreth build, so treat the value as informational rather than authoritative.